public GameOptionsSelectMapScreen(RoomInformations Room, GameOptionsScreen OptionsScreen, GamePreparationScreen Owner) { this.Room = Room; this.OptionsScreen = OptionsScreen; this.Owner = Owner; DicMapInfoByPath = new Dictionary <string, MapInfo>(); }
public GameOptionsGameRulesScreen(RoomInformations Room) { this.Room = Room; PanelX = (int)(Constants.Width * 0.03); PanelY = (int)(Constants.Height * 0.15); PanelWidth = (int)(Constants.Width * 0.94); PanelHeight = (int)(Constants.Height * 0.22); RightColumnX = (int)(PanelWidth / 2); }
public GamePreparationScreen(BattleMapOnlineClient OnlineGameClient, CommunicationClient OnlineCommunicationClient, RoomInformations Room) { this.OnlineGameClient = OnlineGameClient; this.OnlineCommunicationClient = OnlineCommunicationClient; this.Room = Room; SelectingTeam = -1; if (Room.ListRoomPlayer.Count == 0) { foreach (BattleMapPlayer ActivePlayer in PlayerManager.ListLocalPlayer) { ActivePlayer.OnlinePlayerType = BattleMapPlayer.PlayerTypeHost; Room.AddLocalPlayer(ActivePlayer); } } }
public GameOptionsMutatorsScreen(RoomInformations Room, GameOptionsScreen Owner) { this.Room = Room; this.Owner = Owner; ListAvailableMutators = new List<Mutator>(); ListActiveMutators = new List<Mutator>(); AvailableMutatorsValue = -1; SelectedActiveMutatorsIndex = -1; PanelY = (int)(Constants.Height * 0.15); PanelWidth = (int)(Constants.Width * 0.37); PanelHeight = (int)(Constants.Height * 0.52); LeftPanelX = (int)(Constants.Width * 0.03); RightPanelX = Constants.Width - LeftPanelX - PanelWidth; ButtonsWidth = (int)(Constants.Width * 0.13); ButtonsHeight = 30; ButtonsX = Constants.Width / 2 - ButtonsWidth / 2; ButtonsY = PanelY + (PanelHeight - ButtonsHeight * 7) / 2; }
public GameOptionsScreen(RoomInformations Room, GamePreparationScreen Owner) { this.Room = Room; this.Owner = Owner; }
public GameOptionsGametypeScreen(RoomInformations Room, GameOptionsScreen Owner) { this.Room = Room; this.Owner = Owner; }
public GameOptionsBotConfigScreen(RoomInformations Room) { this.Room = Room; }