/// <summary> /// In a derived class, implements logic to render the sample. /// </summary> protected virtual void Draw(DemoTime time) { }
/// <summary> /// In a derived class, implements logic to update any relevant sample state. /// </summary> protected virtual void Update(DemoTime time) { }
protected override void Update(DemoTime time) { base.Update(time); this.Tick?.Invoke(time.ElapseTime); }