コード例 #1
0
ファイル: Monster.cs プロジェクト: Jupotter/Lights-Out
 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);
 }
コード例 #2
0
ファイル: Monster.cs プロジェクト: Jupotter/Lights-Out
 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);
 }