示例#1
0
 public void HandlePipeExit()
 {
     this.Mario.IsTravelingPipe  = true;
     this.Mario.CurrentPosition  = this.TempMarioPos;
     this.Camera.CurrentPosition = this.TempCameraPos;
     this.Background.Texture     = SpriteHolder.Background;
     this.MarioPipeAnimator      = new MarioPipeAnimator(this, this.Camera, false, GetUndergroundPos());
 }
示例#2
0
 public void HandlePipeEntrance()
 {
     this.Mario.IsTravelingPipe = true;
     this.MarioPipeAnimator     = new MarioPipeAnimator(this, this.Camera, true, GetUndergroundPos());
 }