Пример #1
0
 public Simulation()
 {
     entityManager    = new EntityManager();
     pillarManager    = new EntityKindManager(entityManager, "pillar");
     islandManager    = new EntityKindManager(entityManager, "island");
     playerManager    = new EntityKindManager(entityManager, "player");
     powerupManager   = new EntityKindManager(entityManager, "powerup");
     collisionManager = new CollisionManager();
     soundRegistry    = new SoundRegistry();
 }
Пример #2
0
 public EntityKindIterator(EntityKindManager manager)
 {
     this.manager = manager;
     this.index   = -1;
 }