00001 00009 #ifndef ISO_TILE_PLOTTER_H 00010 #define ISO_TILE_PLOTTER_H 00011 00012 #include "IsoDefinitions.h" 00013 00015 typedef POINT (*ISOTILEPLOTTERFN)(POINT coords, int tileWidth, int tileHeight); 00016 00024 class IsoTilePlotter { 00025 public: 00027 00028 IsoTilePlotter(); 00029 ~IsoTilePlotter(); 00030 00032 00039 POINT plotTile(POINT coords); 00040 00042 00044 ISOMAPTYPE getMapType(); 00046 void setMapType(ISOMAPTYPE newMapType); 00047 00049 int getTileWidth(); 00051 int getTileHeight(); 00054 POINT getTileDimensions(); 00056 void setTileSize(int newTileWidth, int newTileHeight); 00057 00059 00060 private: 00062 ISOMAPTYPE isoMapType; 00063 00065 int tileWidth; 00067 int tileHeight; 00068 00070 ISOTILEPLOTTERFN plotterFunction; 00071 }; 00072 00073 #endif//ISO_TILE_PLOTTER_H