Added FixedUpdates
This commit is contained in:
parent
777c2f6256
commit
21eaaa4900
8 changed files with 124 additions and 24 deletions
|
|
@ -6,6 +6,7 @@ using System.Dynamic;
|
|||
using System.Windows.Controls;
|
||||
using SM.Base;
|
||||
using SM.Base.Drawing;
|
||||
using SM.Base.Window.Contexts;
|
||||
using SM.Base.Windows;
|
||||
using SM.Utility;
|
||||
|
||||
|
|
@ -105,6 +106,12 @@ namespace SM.Base.Scene
|
|||
_hud?.Update(context);
|
||||
}
|
||||
|
||||
public virtual void FixedUpdate(FixedUpdateContext context)
|
||||
{
|
||||
_objectCollection?.FixedUpdate(context);
|
||||
_hud?.FixedUpdate(context);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Draws this scene.
|
||||
/// </summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue