public PlayerInputHandler(GameManager mrg) { this.parent = mrg.inputManager; this.mrg = mrg; name = "PlayerInputHandler"; isActive = true; }
public LevelManager(GameManager mrg) { followingLevels = new List<RunLevel>(); //Loading a test level currentLevel = RunLevel.LoadLevel("Content/Levels/JonisBoner.boner",mrg.renderCore); }
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)); }
public GameStateIntro(GameManager mrg) : base(mrg) { }
public AnimatedGameObject(GameManager parentManager) { this.parentManager = parentManager; }
public GameStatePressStart(GameManager mrg) : base(mrg) { }
public GameStateOnTheRun(GameManager mrg) : base(mrg) { }
public PressStartHandler(GameManager mrg) { this.parent = mrg.inputManager; this.mrg = mrg; name = "PressStartHandler"; }
protected override void LoadContent() { gameManager = new GameManager(this); gameManager.Initialize(); }