19 lines
No EOL
409 B
C++
19 lines
No EOL
409 B
C++
#ifndef _RENDERABLE_H
|
|
#define _RENDERABLE_H
|
|
|
|
#include <Components/World/GameObject.cpp>
|
|
|
|
struct Renderable : public GameObject {
|
|
Game() : GameObject("Renderable") {}
|
|
|
|
virtual void render();
|
|
};
|
|
|
|
void registerRenderable(lua_State* L) {
|
|
luabridge::getGlobalNamespace(L)
|
|
.beginNamespace("Core")
|
|
.deriveClass <Renderable, GameObject> ("Renderable").endClass()
|
|
.endNamespace();
|
|
}
|
|
|
|
#endif |