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); }
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); }