-
Notifications
You must be signed in to change notification settings - Fork 0
/
Object.h
37 lines (30 loc) · 1.03 KB
/
Object.h
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
28
29
30
31
32
33
34
35
36
37
/* This class is the master ancestor class. Anything that is brought into existance by the resource
* manager class. The resource manager will maintain UUIDs that can be used for global reference of
* any object. so this includes Meshes, materials, cameras, buffers, etc. It is worth noteing that
* some objects may have more than one object in them. any time there is an object that has a HAS-A
* relationship with another object, then it will have sub objects. some IS-A relationships will
* also have subobjects. I can't actually think of an example of that right now, so I'm going to
* for now assume that the only something can have a subobject is in a HAS-A relationship, like how
* a mesh HAS-A material.
*/
#ifndef OBJECT_H
#define OBJECT_H
#include <stdlib.h>
#include <time.h>
#include <iostream>
#include <sstream>
#include "Event.cpp"
#include "Lib.cpp"
using namespace std;
class Object
{
public:
Object();
virtual ~Object();
UID getID();
virtual bool onEvent(const Event& event);
//protected:
UID ID;
};
#endif
/*.S.D.G.*/