mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-19 17:59:18 +02:00
ECS System WIP
This commit is contained in:
25
entitysystem/systems/MovementSystem.h
Normal file
25
entitysystem/systems/MovementSystem.h
Normal file
@@ -0,0 +1,25 @@
|
||||
//
|
||||
// Created by Daniu
|
||||
//
|
||||
|
||||
#ifndef EU07_MOVEMENTSYSTEM_H
|
||||
#define EU07_MOVEMENTSYSTEM_H
|
||||
|
||||
|
||||
#pragma once
|
||||
#include "BaseSystem.h"
|
||||
|
||||
namespace ECSComponent
|
||||
{
|
||||
struct Transform;
|
||||
struct Velocity;
|
||||
}
|
||||
|
||||
class MovementSystem : public BaseSystem
|
||||
{
|
||||
public:
|
||||
void Update(ECWorld& world, float dt) override;
|
||||
};
|
||||
|
||||
|
||||
#endif //EU07_MOVEMENTSYSTEM_H
|
||||
Reference in New Issue
Block a user