public static void Initialize(GameRoot root, int pawns) { m_root = root; m_numPawns = pawns; m_livePawns = pawns; m_moveAllowed = false; BombPlaced = null; BombDetonated = null; PawnDied = null; Powerups = new List <Powerup>(); m_bombs = new List <Bomb>(); m_pawns = new Pawn[4]; for (int i = 0; i < pawns; i++) { m_pawns[i] = m_root.CreatePawn(i, i == 0); m_pawns[i].SetPawnID(i); m_pawns[i].Died += OnPawnDied; } Map.Initialize(); }