예제 #1
0
 /// <summary>
 /// In a derived class, implements logic to render the sample.
 /// </summary>
 protected virtual void Draw(DemoTime time)
 {
 }
예제 #2
0
 /// <summary>
 /// In a derived class, implements logic to update any relevant sample state.
 /// </summary>
 protected virtual void Update(DemoTime time)
 {
 }
예제 #3
0
파일: App.cs 프로젝트: thijsjvr/Tutorials
 protected override void Update(DemoTime time)
 {
     base.Update(time);
     this.Tick?.Invoke(time.ElapseTime);
 }