refactor: update & draw calls have been refactored into systems
This commit is contained in:
6
Engine.Core/Systems/Abstract/IDraw.cs
Normal file
6
Engine.Core/Systems/Abstract/IDraw.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Syntriax.Engine.Core;
|
||||
|
||||
public interface IDraw : IBehaviour
|
||||
{
|
||||
void Draw();
|
||||
}
|
6
Engine.Core/Systems/Abstract/IFirstFrameUpdate.cs
Normal file
6
Engine.Core/Systems/Abstract/IFirstFrameUpdate.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Syntriax.Engine.Core;
|
||||
|
||||
public interface IFirstFrameUpdate : IBehaviour
|
||||
{
|
||||
void FirstActiveFrame();
|
||||
}
|
6
Engine.Core/Systems/Abstract/IPostDraw.cs
Normal file
6
Engine.Core/Systems/Abstract/IPostDraw.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Syntriax.Engine.Core;
|
||||
|
||||
public interface IPostDraw : IBehaviour
|
||||
{
|
||||
void PostDraw();
|
||||
}
|
6
Engine.Core/Systems/Abstract/IPostUpdate.cs
Normal file
6
Engine.Core/Systems/Abstract/IPostUpdate.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Syntriax.Engine.Core;
|
||||
|
||||
public interface IPostUpdate : IBehaviour
|
||||
{
|
||||
void PostUpdate();
|
||||
}
|
6
Engine.Core/Systems/Abstract/IPreDraw.cs
Normal file
6
Engine.Core/Systems/Abstract/IPreDraw.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Syntriax.Engine.Core;
|
||||
|
||||
public interface IPreDraw : IBehaviour
|
||||
{
|
||||
void PreDraw();
|
||||
}
|
6
Engine.Core/Systems/Abstract/IPreUpdate.cs
Normal file
6
Engine.Core/Systems/Abstract/IPreUpdate.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Syntriax.Engine.Core;
|
||||
|
||||
public interface IPreUpdate : IBehaviour
|
||||
{
|
||||
void PreUpdate();
|
||||
}
|
6
Engine.Core/Systems/Abstract/IUpdate.cs
Normal file
6
Engine.Core/Systems/Abstract/IUpdate.cs
Normal file
@@ -0,0 +1,6 @@
|
||||
namespace Syntriax.Engine.Core;
|
||||
|
||||
public interface IUpdate : IBehaviour
|
||||
{
|
||||
void Update();
|
||||
}
|
Reference in New Issue
Block a user