equal
deleted
inserted
replaced
1 /** |
|
2 * test/demos/pmc/include/cube.h |
|
3 * Copyright (C) 2008 Markus Broeker |
|
4 */ |
|
5 |
|
6 #ifndef _CUBE_H |
|
7 #define _CUBE_H |
|
8 |
|
9 #include <surface.h> |
|
10 #include <vector.h> |
|
11 #include <rectangle.h> |
|
12 |
|
13 class Cube:public Drawable { |
|
14 private: |
|
15 algebra::Vector * P[8]; |
|
16 int height; |
|
17 |
|
18 public: |
|
19 Cube (Surface *, algebra::Vector &, algebra::Vector &, algebra::Vector &, algebra::Vector &, int); |
|
20 Cube (Surface *, algebra::Vector[4], int); |
|
21 Cube (Surface *); |
|
22 Cube (const Cube &); |
|
23 virtual ~ Cube (); |
|
24 |
|
25 void show (); |
|
26 void move (algebra::Vector); |
|
27 }; |
|
28 #endif |
|