示例#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);
 }