Пример #1
0
 public EntityManager(Vector2[] WaypointArray)
 {
     ActiveTowers = new HashSet<Tower>();
     CreepWaypointDict = new Dictionary<Creep, int>();
     ActiveProjectiles = new HashSet<Projectile>();
     TowersToRemove = new List<Tower>(100);
     CreepsToRemove = new List<Creep>(100);
     ProjectilesToRemove = new List<Projectile>(100);
     creepPath = new CreepPath(WaypointArray);
 }
Пример #2
0
 public EntityManager(Vector2[] WaypointArray)
 {
     ActiveTowers        = new HashSet <Tower>();
     CreepWaypointDict   = new Dictionary <Creep, int>();
     ActiveProjectiles   = new HashSet <Projectile>();
     TowersToRemove      = new List <Tower>(100);
     CreepsToRemove      = new List <Creep>(100);
     ProjectilesToRemove = new List <Projectile>(100);
     creepPath           = new CreepPath(WaypointArray);
 }