mirror of
https://github.com/MaddyThorson/StrawberryBF.git
synced 2024-11-25 16:18:56 +08:00
IEarlyUpdate
This commit is contained in:
parent
1fb4ed7c9b
commit
7f1c1d8337
7
src/Components/Interfaces/IEarlyUpdate.bf
Normal file
7
src/Components/Interfaces/IEarlyUpdate.bf
Normal file
|
@ -0,0 +1,7 @@
|
|||
namespace Strawberry
|
||||
{
|
||||
public interface IEarlyUpdate
|
||||
{
|
||||
public void EarlyUpdate();
|
||||
}
|
||||
}
|
|
@ -38,6 +38,7 @@ namespace Strawberry
|
|||
|
||||
public virtual void Update()
|
||||
{
|
||||
ForEach<IEarlyUpdate>(scope (u) => u.EarlyUpdate());
|
||||
ForEach<IUpdate>(scope (u) => u.Update());
|
||||
ForEach<ILateUpdate>(scope (u) => u.LateUpdate());
|
||||
UpdateLists();
|
||||
|
|
Loading…
Reference in New Issue
Block a user