示例#1
0
 protected override DrawPosition InitializeEvent(IServiceProvider serviceProvider, GraphicsDevice device, Level.LevelVariables levelVariables, GameManagement.Options options)
 {
     elapsedTime = timeThreshold;
     grayScale = new GrayScale();
     grayScale.Initialize(serviceProvider, device, options);
     grayScale.StartResetEffect();
     grayScale.BFactor = 0.5f;
     grayScale.RFactor = 0.5f;
     grayScale.GFactor = 0.5f;
     return GameEvents.DrawPosition.Post;
 }
示例#2
0
 public override void Dispose()
 {
     grayScale = null;
 }