mirror of
https://github.com/Nimac0/SDL_Minigame
synced 2026-01-12 07:53:43 +00:00
14 lines
159 B
C++
14 lines
159 B
C++
#pragma once
|
|
|
|
class Entity;
|
|
|
|
class Component
|
|
{
|
|
public:
|
|
Entity* entity;
|
|
|
|
virtual void init() {}
|
|
virtual void update() {}
|
|
|
|
virtual ~Component() = default;
|
|
}; |