Exemplo n.º 1
0
 public Box(IGameMediator mediator) : base("box")
 {
     mMediator  = mediator;
     mMove      = new ActorMove(mMediator);
     mFootprint = new List <Vector2>();
     GameDevice.Instance().GetRenderer().LoadContent(mFilename);
 }
Exemplo n.º 2
0
 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");
 }