public Box(IGameMediator mediator) : base("box") { mMediator = mediator; mMove = new ActorMove(mMediator); mFootprint = new List <Vector2>(); GameDevice.Instance().GetRenderer().LoadContent(mFilename); }
public Player(IGameMediator mediator) : base("kiparupa_anm") { GameDevice.Instance().GetRenderer().LoadContent(mFilename); mMediator = mediator; mMove = new ActorMove(mMediator); mAnim = new Animation(mFilename, new Rectangle(0, 0, 64, 64), 0.25f); GameDevice.Instance().GetSound().LoadSE("undo"); }