Exemple #1
0
        public void Initialize()
        {
            this.map = this.game.Map;
            this.mapDrawer = this.game.MapDrawer;
            this.network = this.game.Network;
            this.networkController = this.game.NetworkController;

            mapClickController.Initialize(game.Input, map);

            network.reciveData += ReciveData;
            networkController.StartPolling();

            game.update += Update;
            mapDrawer.Visible = true;
        }
 public NetworkController(GameXXX game, NetworkManager network)
 {
     this.game = game;
     this.network = network;
 }