public void AddPlay(int heuristic, string message) { if (heuristic > CurrentHeuristic) { CurrentHeuristic = heuristic; CurrentMessage = message; PostPlayTimer.Start(PostTimeDelta); } }
public override void Update(GameTime gameTime) { base.Update(gameTime); PostPlayTimer.Update(gameTime); if (!PostPlayTimer.Paused && !PostPlayTimer.HasTimeRemaining) { PostPlayTimer.Stop(); Task.Run(() => { //grab the current image stack CurrentClutchPlay.CopyImageList(Grabber.CurrentImageList); }); } }