public static void StartUp(TanksGame tankGame) { controller = new Controller(tankGame); }
public Controller(TanksGame tankGame) { this.tankGame = tankGame; nugetta = MyNugettaHandler.getInstance(); }
private void startGame(NGame game) { nugetta.ListenToMessages((NRawGameMessage message) => { recieveGameMessage(message.getContent()); }); tankGame = new TanksGame(this); }