|
Swarm Demo 1.6
Demonstration of the swarm object manager
|
The Main class initializes and updates all managers. It uses singleton code to allow any object to reference any other object. More...
Public Attributes | |
| Ship | ship |
| ship control | |
| AsteroidManager | asteroidManager |
| reference to the asteroid manager | |
| SwarmItemManager | bulletManager |
| bullet manager (we don't need an inherited manager for this since the base class handles everything for us) | |
| SwarmItemManager | explosionManager |
| explosion manager (we don't need an inherited manager for this since the base class handles everything for us) | |
Properties | |
| static Main | Instance [get] |
| The instance of the singleton. Should be only one in a scene. | |
The Main class initializes and updates all managers. It uses singleton code to allow any object to reference any other object.
reference to the asteroid manager
| SwarmItemManager Main.bulletManager |
bullet manager (we don't need an inherited manager for this since the base class handles everything for us)
| SwarmItemManager Main.explosionManager |
explosion manager (we don't need an inherited manager for this since the base class handles everything for us)
Main Main.Instance [static, get] |
The instance of the singleton. Should be only one in a scene.
1.7.4