summaryrefslogtreecommitdiff
path: root/engine-ocean/Game/GameObjects/GameObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engine-ocean/Game/GameObjects/GameObject.cpp')
-rw-r--r--engine-ocean/Game/GameObjects/GameObject.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/engine-ocean/Game/GameObjects/GameObject.cpp b/engine-ocean/Game/GameObjects/GameObject.cpp
new file mode 100644
index 0000000..0c7bce8
--- /dev/null
+++ b/engine-ocean/Game/GameObjects/GameObject.cpp
@@ -0,0 +1,27 @@
+#include "gameobject.h"
+#include "Game/Components/DrawComponent.h"
+
+//GameObject::GameObject(std::shared_ptr<Shape> object, std::shared_ptr<ModelTransform> object_mt)
+//{
+// m_object = object;
+// m_object_mt = object_mt;
+//}
+
+GameObject::GameObject(){
+
+}
+
+//GameObject::~GameObject(){
+
+//}
+
+//void GameObject::addMaterial(std::string material_name, std::string material_filepath){
+// getComponent<DrawComponent>()->addMaterial("mouse", "/Users/jesswan/Desktop/cs1950u/cs1950u-jjesswan/Resources/Images/mouse.png");
+//}
+
+//void GameObject::addComps(){
+// addComponent<DrawComponent>(m_object);
+// getComponent<DrawComponent>()->addMaterial("mouse", "/Users/jesswan/Desktop/cs1950u/cs1950u-jjesswan/Resources/Images/mouse.png");
+//}
+
+