blob: 91ec46d688ca90e7b06f331f0c73d18934a5b4ad (
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
|
#ifndef __AE_COMPONENT_H__
#define __AE_COMPONENT_H__
#include "AE_Object.h"
namespace AsuraEngine
{
class GameObject;
class Component : public Object
{
public:
virtual void OnEnable();
virtual void OnEvent();
virtual void OnUpdate(uint32 milliseconds);
virtual void OnRender();
virtual void OnDisable();
protected:
GameObject* mGameObject;
};
}
#endif
|