-
Notifications
You must be signed in to change notification settings - Fork 2
Tribe.hpp
Ryan Babij edited this page Jul 13, 2018
·
13 revisions
Tribes are objects which are spawned when the world is created.
-
WorldObjectGlobal.hpp
- Must have an x,y coordinate on the world map.
- Must return a texture to display.
-
TableInterface.hpp
- Must return strings in response to queries.
- Name - The name of the tribe.
- A unique colour to identify it.
- A race enum (DWARVEN/HUMAN/ELVEN).
- A pointer to the World.
- A list of all tile coordinates claimed by the tribe.
Handles initialisation beyond constructor.
Handles placement in the World.
Will simulate the tribe for the given number of ticks.
A function called when the Tribe has no other useful action to perform. The Tribe will move to another tile.