예제 #1
0
파일: SkyHost.cs 프로젝트: Zeludon/FEZ
 public SkyHost(Game game)
   : base(game)
 {
   this.DrawOrder = 0;
   this.UpdateOrder = 11;
   SkyHost.Instance = this;
   this.stars = new Mesh()
   {
     Culling = CullMode.CullClockwiseFace,
     AlwaysOnTop = true,
     DepthWrites = false,
     SamplerState = SamplerState.PointWrap
   };
   ServiceHelper.AddComponent((IGameComponent) new CloudShadowsHost(game, this));
 }
예제 #2
0
 public CloudShadowsHost(Game game, SkyHost host)
   : base(game)
 {
   this.DrawOrder = 100;
   this.Host = host;
 }