Serialization project and scene
This commit is contained in:
@@ -7,17 +7,9 @@
|
||||
class ScriptableEntity
|
||||
{
|
||||
public:
|
||||
template<typename T>
|
||||
T& GetComponent()
|
||||
{
|
||||
return m_Entity.GetComponent<T>();
|
||||
}
|
||||
|
||||
|
||||
virtual void OnCreate() {}
|
||||
virtual void OnDestroy() {}
|
||||
virtual void OnUpdate(Timestep ts){}
|
||||
|
||||
Entity m_Entity;
|
||||
friend class Scene;
|
||||
};
|
||||
Reference in New Issue
Block a user