eqemu
view src/object.h @ 9:fca1f126d23b
fixed message pump
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 18 Jul 2014 04:47:27 +0300 |
parents | f9274bebe55e |
children | 2656099aff12 |
line source
1 #ifndef OBJECT_H_
2 #define OBJECT_H_
4 #include <string>
5 #include "mesh.h"
6 #include "material.h"
8 class Object {
9 private:
10 std::string name;
11 Mesh *mesh;
13 public:
14 Material mtl;
16 Object();
18 void set_name(const char *name);
19 const char *get_name() const;
21 void set_mesh(Mesh *mesh);
22 Mesh *get_mesh() const;
24 void render() const;
25 };
27 #endif // OBJECT_H_