forked from methusalah/OpenRTS
-
Notifications
You must be signed in to change notification settings - Fork 1
Army structure
methusalah edited this page Apr 21, 2015
·
6 revisions
The army is one of the main package of the model. Army is a package of the battlefield that defines :
- the army manager, unique object which basicaly update army components accordingly to their actual state,
- the components.
Components are units, projectiles, buildings... inherited from abstract components FieldComp (for static comps) and Hiker (for moving comps)
They use effects to interact with each other, players and terrain.
They use actors to have a visual representation on the view.