public WolverineChuck(Game1 game) { myGame = game; isHit = false; canDealDamage = true; physics = new MarioGamePhysics(); state = new WolverineChuckIdleLeftState(this); spawner = new FootballSpawner(myGame); }
public ThrowingWolverineEnemy(Game1 game) { myGame = game; isHit = false; canDealDamage = true; physics = new MarioGamePhysics(); state = new WolverineLeftIdleState(this); spawner = new FootballSpawner(myGame); }
public BuckeyePlayer(Game1 game) { state = new BuckeyeRightIdleState(this); myGame = game; physics = new MarioGamePhysics(); isPressingDown = false; isDead = false; spawner = new FootballSpawner(game); }
public Football(FootballSpawner spawner, Game1 game, bool throwingRight, bool isHostile, string footballType) { myGame = game; sprite = ProjectileSpriteFactory.CreateFootballSprite(); physics = new MarioGamePhysics(); InitializeFootballPhysics(footballType, throwingRight); isExploded = false; this.isHostile = isHostile; this.spawner = spawner; }