stratega.TechnologyTreeCollection

class stratega.TechnologyTreeCollection

Contains a list of technology trees, indexed by a unique ID.

__init__(*args, **kwargs)

Methods

__init__(*args, **kwargs)

get_technology(self, technologyID)

Returns a technology node with an ID corresponding to the one passed by parameter.

get_technology_type_id(self, technologyName)

Returns the ID of a technology that matches the requested name, in any of the trees of this collection.

Attributes

technology_tree_types

List of technology trees, indexed by a unique ID.