コード例 #1
0
ファイル: Game.cs プロジェクト: Teyras/Bounce
 protected void spawnMonster()
 {
     string[] types = new string[] {
         "Wanderer",
         "Circulator",
         "Sniffer"
     };
     board.AddMonster(types [random.Next(0, types.Length)]);
 }