Added saving and loading
This commit is contained in:
@@ -11,6 +11,8 @@ namespace OpenEngine {
|
||||
virtual ~NativeScriptableEntity() = default;
|
||||
template <typename T>
|
||||
T& GetComponent() { return entity.GetComponents<T>(); };
|
||||
template <typename T>
|
||||
bool HasComponent() { return entity.HasComponent<T>(); };
|
||||
|
||||
protected:
|
||||
virtual void OnCreate() {};
|
||||
|
||||
Reference in New Issue
Block a user