pmc/include/cube.hpp
changeset 65 76514757b0d6
equal deleted inserted replaced
64:993b97c4ad2d 65:76514757b0d6
       
     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.hpp>
       
    10 #include <vector.hpp>
       
    11 #include <rectangle.hpp>
       
    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