public CharacterSelectView(MainController mainController, Image image, AssetManager assetManager, MainMenuView mainMenu, ICharacterSelectMenu selectMenuPlayer1, ICharacterSelectMenu selectMenuPlayer2, SoundManager soundManager) : base(mainController, image, assetManager, soundManager) { this.mainMenu = mainMenu; this.selectMenuPlayer1 = selectMenuPlayer1; this.selectMenuPlayer2 = selectMenuPlayer2; cellX = Width / 20; cellY = Height / 20; mainFont = new Font("Arial", (int)(cellY)); }
public CharacterView(MainController controller, ImageControl image, AssetManager assetManager, MainMenuView mainMenu, ICharacterDescriptionMenu descriptionMenu, SoundManager soundManager) : base(controller, image, assetManager, soundManager) { this.descriptionMenu = descriptionMenu; this.mainMenu = mainMenu; cellX = Width / 50; cellY = Height / 50; regularFont = new Font("Arial", (int)(cellY * 1.4)); descriptionFont = new Font("Arial", (int)(cellY * 1.2)); titleFont = new Font("Arial", cellY * 4, FontStyle.Bold); stringFormatCenter = new StringFormat { Alignment = StringAlignment.Center }; stringFormatNormal = new StringFormat { Alignment = StringAlignment.Near }; }
public AboutView(MainController controller, ImageControl image, AssetManager assetManager, SoundManager soundManager, MainMenuView mainMenu) : base(controller, image, assetManager, soundManager) { this.mainMenu = mainMenu; font = new Font("Arial", Height / 35); }