public Boo(Game1 game, Vector2 booResetLocation) { myGame = game; physics = new PacMarioGamePhysics(); state = new UpPatrolingBooState(this); resetLocation = booResetLocation; }
public Boo(Level l, Point position, Sprite hideState, Sprite chaseState) : base(l, position, hideState, null) { Stompable = false; BoundingBox = new Bounds(this, Color.Red, new Vector2(3, 3), new Vector2(13, 13)); this.chaseState = new ChaseState(this, chaseState); this.hiddenState = new HideState(this, hideState); currentstate = hiddenState; Speed = 1; }