0
0
mirror of https://github.com/Nimac0/SDL_Minigame synced 2026-01-12 09:03:42 +00:00
SDL_Minigame/include/ColliderComponent.h
2024-01-23 18:50:21 +01:00

18 lines
293 B
C++

#pragma once
#include "SDL.h"
#include "Component.h"
class TransformComponent;
class ColliderComponent : public Component
{
public:
SDL_Rect collider;
const char* tag;
TransformComponent* transform;
ColliderComponent(const char* tag);
void init() override;
void update() override;
};