2013-02-11 21:58:34 +01:00
|
|
|
#ifndef CUBE_H
|
|
|
|
#define CUBE_H
|
|
|
|
|
|
|
|
class Cube {
|
|
|
|
public:
|
2013-02-13 23:10:55 +01:00
|
|
|
Cube(int x, int y, int z, GLuint texture, Map *map);
|
2013-02-11 21:58:34 +01:00
|
|
|
~Cube() {}
|
|
|
|
|
2013-02-13 23:10:55 +01:00
|
|
|
void draw();
|
2013-02-11 21:58:34 +01:00
|
|
|
|
|
|
|
private:
|
2013-02-13 23:10:55 +01:00
|
|
|
int m_x;
|
|
|
|
int m_y;
|
|
|
|
int m_z;
|
2013-02-11 21:58:34 +01:00
|
|
|
|
|
|
|
GLuint m_texture;
|
|
|
|
|
|
|
|
Map *m_map;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // CUBE_H
|