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()); }
public void HandlePipeEntrance() { this.Mario.IsTravelingPipe = true; this.MarioPipeAnimator = new MarioPipeAnimator(this, this.Camera, true, GetUndergroundPos()); }