Пример #1
0
 public GameState(GameStateManager manager)
     : base(manager.Game)
 {
     StateManager = manager;
     Components = new List<GameComponent>();
     Tag = this;
 }
Пример #2
0
        public SkillScreen(GameStateManager stateManager, int skillPoints)
            : base(stateManager)
        {
            linkLabelHandler = new EventHandler(addSkillLabel_Selected);
            SkillPoints = skillPoints;

            SetTarget(GamePlayScreen.Player.Character);
        }
Пример #3
0
        public BaseScreen(GameStateManager manager)
            : base(manager)
        {
            SpriteFont menuFont = Content.Load<SpriteFont>("SpriteFonts\\ControlFont");
            ControlManager = new ControlManager(menuFont);

            PlayerIndexInControl = PlayerIndex.One;
        }
Пример #4
0
 public GamePlayScreen(GameStateManager manager)
     : base(manager)
 {
     StateManager.Camera.CameraMode = CameraMode.Free;
 }
Пример #5
0
 public StartMenuScreen(GameStateManager manager)
     : base(manager)
 {
 }
 public CharacterGeneratorScreen(GameStateManager stateManager)
     : base(stateManager)
 {
 }
Пример #7
0
 public TitleScreen(GameStateManager manager)
     : base(manager)
 {
 }