initial commit

This commit is contained in:
Jorijn van der Graaf 2025-05-06 12:38:11 +02:00
commit de042a580c
22 changed files with 221 additions and 0 deletions

View file

@ -0,0 +1,19 @@
module;
#include <cstdint>
export module Crafter.Component:Component;
import Crafter.Event;
namespace Crafter {
export class Component {
public:
Event<void> onDelete;
std::uint32_t refCount = 0;
Component();
virtual ~Component();
void AddOwner();
void RemoveOwner();
};
}