World.hpp - RyanBabij/WorldSim GitHub Wiki

World is a large class which contains almost all information about the game world and the entities that exist within it.

Implements:

LogicTickInterface

Whenever game logic must advance, World receives the call first. It passes down the call to all contained objects. For example it decides the order in which players may take their turn.

IdleTickInterface

When the game has free CPU time, World will receive it first and pass it down to contained objects. The intention will be to allow non-critical algorithms a chance to execute when the player is idle.

Contains

Sub objects

World information:

  • aTopoMap
  • vWorldObjectGlobal
  • aWorldTile

Contains: