2023-05-01 12:55:49 +00:00
|
|
|
#ifndef ENGINE_INCLUDE_SYSTEMS_TRANSFORM_H_
|
|
|
|
#define ENGINE_INCLUDE_SYSTEMS_TRANSFORM_H_
|
2023-01-02 17:24:20 +00:00
|
|
|
|
2023-05-01 13:13:35 +00:00
|
|
|
#include "ecs_system.h"
|
2023-01-02 17:24:20 +00:00
|
|
|
|
|
|
|
namespace engine {
|
|
|
|
|
|
|
|
class TransformSystem : public System {
|
|
|
|
|
|
|
|
public:
|
2023-01-05 13:21:33 +00:00
|
|
|
TransformSystem(Scene* scene);
|
2023-01-02 17:24:20 +00:00
|
|
|
|
2023-04-29 14:22:25 +00:00
|
|
|
void OnUpdate(float ts) override;
|
2023-01-02 17:24:20 +00:00
|
|
|
|
2023-05-01 12:55:49 +00:00
|
|
|
uint32_t GetChildEntity(uint32_t parent, const std::string& tag);
|
2023-01-02 17:24:20 +00:00
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
|
2023-05-01 12:55:49 +00:00
|
|
|
#endif
|