1 #pragma once 2 3 #include "util.h" 4 5 class Position; 6 class Furniture; 7 class Creature; 8 9 enum class FurnitureUsageType { 10 CHEST, 11 COFFIN, 12 VAMPIRE_COFFIN, 13 SLEEP, 14 FOUNTAIN, 15 KEEPER_BOARD, 16 CROPS, 17 STAIRS, 18 TIE_UP, 19 TRAIN, 20 ARCHERY_RANGE, 21 STUDY, 22 PORTAL 23 }; 24 25 class FurnitureUsage { 26 public: 27 static void handle(FurnitureUsageType, Position, WConstFurniture, WCreature); 28 static bool canHandle(FurnitureUsageType, WConstCreature); 29 static string getUsageQuestion(FurnitureUsageType, string furnitureName); 30 }; 31