Пример #1
0
 public static void StartUp(TanksGame tankGame)
 {
     controller = new Controller(tankGame);
 }
Пример #2
0
 public Controller(TanksGame tankGame)
 {
     this.tankGame = tankGame;
     nugetta = MyNugettaHandler.getInstance();
 }
Пример #3
0
    private void startGame(NGame game)
    {
        nugetta.ListenToMessages((NRawGameMessage message) =>
        {
            recieveGameMessage(message.getContent());
        });

        tankGame = new TanksGame(this);
    }