示例#1
0
 public override void TransitionDown()
 {
     Transitioning = true;
     //Second parameter is should be replaced by the room above Room1 when it's made. This is just for demonstration.
     transitionHandler = new RoomTransitionCommand(this, 8, 1, game, border, graphics);
     game.GetPlayer().GetInventory().CurrentRoom = 8;
 }
示例#2
0
 public override void TransitionRight()
 {
     Transitioning = true;
     //Replace second parameter when room is made
     transitionHandler = new RoomTransitionCommand(this, 9, 3, game, border, graphics);
     game.GetPlayer().GetInventory().CurrentRoom = 9;
 }
示例#3
0
 public override void TransitionDown()
 {
     Transitioning     = true;
     transitionHandler = new RoomTransitionCommand(this, 1, 1, game, border, graphics);
     game.GetPlayer().GetInventory().CurrentRoom = 1;
 }