Skip to content

GameResources

GameResources class

data GameResources
// actually Number but use Int instead
cash: Int = 0
wood: Int = 0
metal: Int = 0
cloth: Int = 0
water: Int = 0
food: Int = 0
ammunition: Int = 0
enum GameResourcesConstants
CASH: String = "cash"
WOOD: String = "wood"
METAL: String = "metal"
CLOTH: String = "cloth"
WATER: String = "water"
FOOD: String = "food"
AMMUNITION: String = "ammunition"