initial commit of the files
This commit is contained in:
16
lib/object.h
Normal file
16
lib/object.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#pragma once
|
||||
|
||||
|
||||
|
||||
class GameObject {
|
||||
public:
|
||||
GameObject() = default;
|
||||
|
||||
app::GameObject* FindWithTag(const char* tag);
|
||||
|
||||
template<typename T>
|
||||
T* GetComponent();
|
||||
private:
|
||||
app::GameObject* _currentGameObject = nullptr;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user