summaryrefslogtreecommitdiff
path: root/engine-ocean/Game/GameObjects/GameObject.cpp
diff options
context:
space:
mode:
authorjjesswan <jessica_wan@brown.edu>2024-04-22 21:56:26 -0400
committerjjesswan <jessica_wan@brown.edu>2024-04-22 21:56:26 -0400
commita556b45abf18f1bd509daaf63b66b7d55e9fd291 (patch)
treebc9b8a2d184c12aee236e7f9f276a34b84ca552d /engine-ocean/Game/GameObjects/GameObject.cpp
parentcd7c76017a12bb548036571c1ff13e551369d06d (diff)
add engine version
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");
+//}
+
+