Exemplo n.º 1
0
        public Field()
        {
            this.Characters  = new FieldCharacters(this);
            this.Drops       = new FieldDrops(this);
            this.Mobs        = new FieldMobs(this);
            this.Npcs        = new FieldNpcs(this);
            this.Portals     = new FieldPortals(this);
            this.SpawnPoints = new FieldSpawnPoints(this);
            this.Seats       = new FieldSeats(this);
            this.Kites       = new FieldKites(this);

            this.ObjectIDs = new LoopingID();
        }
Exemplo n.º 2
0
        public Map(int id)
        {
            ID         = id;
            _objectIDs = new LoopingID();

            Footholds   = new List <Foothold>();
            Portals     = new Dictionary <string, Portal>();
            SpawnPoints = new Dictionary <int, Portal>();
            Seats       = new Dictionary <int, Seat>();

            Mobs       = new List <Mob>();
            Drops      = new Dictionary <int, Drop>();
            Characters = new List <Character>();

            Life = new List <Game.Life> [(int)SpawnTypes.MaxSpawnTypes];
            Life[(int)SpawnTypes.Npc]     = new List <Game.Life>();
            Life[(int)SpawnTypes.Mob]     = new List <Game.Life>();
            Life[(int)SpawnTypes.Reactor] = new List <Game.Life>();

            UsedSeats = new List <short>();
        }
Exemplo n.º 3
0
 public DropPool(Map field)
 {
     Field          = field;
     _DropIdCounter = new LoopingID();
 }