コード例 #1
0
ファイル: DemoApp.cs プロジェクト: thijsjvr/Tutorials
 /// <summary>
 /// In a derived class, implements logic to render the sample.
 /// </summary>
 protected virtual void Draw(DemoTime time)
 {
 }
コード例 #2
0
ファイル: DemoApp.cs プロジェクト: thijsjvr/Tutorials
 /// <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);
 }