summaryrefslogtreecommitdiff
path: root/engine-ocean/Game/GameObjects/GameObject.cpp
blob: 0c7bce8818ece4afbb3069ac3c767bdcb338e7e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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");
//}