src/Terrain.hh
branchnew_graphics
changeset 412 721c60072091
parent 411 106aaf6eadfe
child 417 c503e0c6a740
equal deleted inserted replaced
411:106aaf6eadfe 412:721c60072091
     1 #ifndef TERRAIN_HH
     1 #ifndef TERRAIN_HH
     2 #define TERRAIN_HH
     2 #define TERRAIN_HH
     3 
     3 
     4 #include "Vector.hh"
     4 #include "Vector.hh"
     5 #include "GraphicsPointer.hh"
       
     6 #include "Types.hh"
     5 #include "Types.hh"
     7 #include "Config.hh"
     6 #include "Config.hh"
       
     7 
       
     8 #include "Graphics/Drawable.hh"
     8 
     9 
     9 /**
    10 /**
    10  * Different types of terrain available
    11  * Different types of terrain available
    11  */
    12  */
    12 enum TerrainType {
    13 enum TerrainType {
   244      * Draw the terrain onto the given graphics context
   245      * Draw the terrain onto the given graphics context
   245      *
   246      *
   246      * @param gc Graphics to draw on
   247      * @param gc Graphics to draw on
   247      * @param camera view position
   248      * @param camera view position
   248      */
   249      */
   249     virtual void draw (Graphics *g, PixelCoordinate camera = PixelCoordinate(0, 0));
   250     virtual void draw (graphics::Display &display, PixelCoordinate camera = PixelCoordinate(0, 0));
   250 };
   251 };
   251 
   252 
   252 #endif
   253 #endif