Module katan_ai.katan.board.building_type
Module representing the type of catan building
Classes
class BuildingType (value, names=None, *, module=None, qualname=None, type=None, start=1)-
A type of building in a Catan game.
Ancestors
- enum.Enum
Class variables
var CITY-
The cities
var ROAD-
The roads
var SETTLEMENT-
The settlements
Methods
def get_required_resources(self)-
Get the resources required to build this building.
Returns
Dict[Resource, int]- The amount of each resource required to build this building