public Monster(char c, TCODColor color, Map map, int health) : base(c, color) { Health = health; map.AddCreature(this); _ai = new MonsterAI(this); _ai.SetMap(map); }
public override bool PlaceAt(int x, int y, Map map) { if (CurrentMap != map) { if (CurrentMap != null) { CurrentMap.RemoveCreature(this); } map.AddCreature(this); _ai.SetMap(map); } bool ret = base.PlaceAt(x, y, map); return(ret); }