mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 14:43:47 +00:00
Adds the Systems for the Entity-Component-Systems setup.
This commit is contained in:
parent
e9dbe788f6
commit
57284507f2
7 changed files with 666 additions and 9 deletions
16
Engine/source/T3D/systems/updateSystem.h
Normal file
16
Engine/source/T3D/systems/updateSystem.h
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
#pragma once
|
||||
#include "componentSystem.h"
|
||||
|
||||
class UpdateSystemInterface : public SystemInterface<UpdateSystemInterface>
|
||||
{
|
||||
public:
|
||||
bool mIsEnabled;
|
||||
};
|
||||
|
||||
class UpdateSystem
|
||||
{
|
||||
public:
|
||||
static void processTick();
|
||||
static void advanceTime(U32 _tickMS);
|
||||
static void interpolateTick(U32 _deltaMS);
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue