예제 #1
0
파일: LiquidHost.cs 프로젝트: tanis2000/FEZ
 public void EndTransition()
 {
   ServiceHelper.RemoveComponent<LiquidHost.WaterTransitionRenderer>(this.TransitionRenderer);
   this.TransitionRenderer = (LiquidHost.WaterTransitionRenderer) null;
   this.ForcedUpdate = true;
   this.Update(new GameTime());
   this.ForcedUpdate = false;
 }
예제 #2
0
파일: LiquidHost.cs 프로젝트: tanis2000/FEZ
 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);
 }