public virtual void Tick() { //decrement lockout count if (Thread != null) { Thread.Tick(); TickSounds(); } if (Headline != null) { var over = HeadlineRenderer.Update(); if (over) { HeadlineRenderer.Dispose(); Headline = null; HeadlineRenderer = null; } else if (UseWorld) { WorldUI.Headline = HeadlineRenderer.DrawFrame(Thread.Context.World); } } if (UseWorld && Headline == null) { WorldUI.Headline = null; } if (ObjectData[(int)VMStackObjectVariable.LockoutCount] > 0) { ObjectData[(int)VMStackObjectVariable.LockoutCount]--; } }