public GuiControler(GameControler gameControler,GameForm gameForm) { this.gameControler = gameControler; this.gameForm = gameForm; this.gameControler.PlayerIsCreated += SetUpTopControlPanel; SetUpMainInfoControl(); }
public GameBoardControler(GameForm gameForm, GameControler gameControler) { this.gameForm = gameForm; this.gameControler = gameControler; this.gameControler.GameBoardIsCreated += CreatingTileControls; this.gameControler.GameBoardIsCreated += CreatingBuildingSpotControls; }
public GameForm() { InitializeComponent(); MainControler = new Controler(this); gameControler = new GameControler(this); // gameBoardControler = new GameBoardControler(this,gameControler); guiControler = new GuiControler(gameControler, this); }