Beispiel #1
0
 public void EndTransition()
 {
   ServiceHelper.RemoveComponent<LiquidHost.WaterTransitionRenderer>(this.TransitionRenderer);
   this.TransitionRenderer = (LiquidHost.WaterTransitionRenderer) null;
   this.ForcedUpdate = true;
   this.Update(new GameTime());
   this.ForcedUpdate = false;
 }
Beispiel #2
0
 public void StartTransition()
 {
   ServiceHelper.AddComponent((IGameComponent) (this.TransitionRenderer = new LiquidHost.WaterTransitionRenderer(this.Game, this)));
   this.WaterLevel = this.LevelManager.WaterHeight;
   this.RightVector = FezMath.RightVector(this.CameraManager.Viewpoint);
 }