public PlayerInputHandler(GameManager mrg)
 {
     this.parent = mrg.inputManager;
     this.mrg = mrg;
     name = "PlayerInputHandler";
     isActive = true;
 }
예제 #2
0
        public LevelManager(GameManager mrg)
        {
            followingLevels = new List<RunLevel>();

            //Loading a test level
            currentLevel = RunLevel.LoadLevel("Content/Levels/JonisBoner.boner",mrg.renderCore);
        }
예제 #3
0
        public Player(GameManager parentManager)
            : base(parentManager)
        {
            parent = parentManager.renderCore;

            layer = 2;
            camAffected = true;

            spriteSheet = parentManager.game.Content.Load<Texture2D>("Graphic/Player/Player");

            animations.Add(new Animation(this,11,new Vector2(96,96),true,Vector2.Zero,9));
        }
예제 #4
0
 public GameStateIntro(GameManager mrg)
     : base(mrg)
 {
 }
 public AnimatedGameObject(GameManager parentManager)
 {
     this.parentManager = parentManager;
 }
 public GameStatePressStart(GameManager mrg)
     : base(mrg)
 {
 }
예제 #7
0
 public GameStateOnTheRun(GameManager mrg)
     : base(mrg)
 {
 }
예제 #8
0
 public PressStartHandler(GameManager mrg)
 {
     this.parent = mrg.inputManager;
     this.mrg = mrg;
     name = "PressStartHandler";
 }
예제 #9
0
 protected override void LoadContent()
 {
     gameManager = new GameManager(this);
     gameManager.Initialize();
 }