]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Tilemap.hh
preliminary physics, sound, hud
[chaz/yoink] / src / Moof / Tilemap.hh
index d8708f1f15f20acf9ff2caa382de4b06403134b1..942a5e9c899d42ef6152a9fc7df8402ded3050d2 100644 (file)
@@ -58,6 +58,7 @@ public:
         */
 
        typedef unsigned Index;
+       static const Index NO_TILE = -1;
 
        typedef enum
        {
@@ -82,7 +83,7 @@ public:
         * @return True if index is valid, false otherwise.
         */
 
-       bool getTileCoords(Index index, Scalar coords[8]);
+       bool getTileCoords(Index index, Scalar coords[8]) const;
 
 
        /**
@@ -93,14 +94,14 @@ public:
         * @return True if index is valid, false otherwise.
         */
 
-       bool getTileCoords(Index index, Scalar coords[8], Orientation what);
+       bool getTileCoords(Index index, Scalar coords[8], Orientation what) const;
 
 
-       static std::string getPathToResource(const std::string& name);
+       static std::string getPath(const std::string& name);
 
 private:
-       class TilemapImpl;
-       boost::shared_ptr<TilemapImpl> impl_;
+       class Impl;
+       boost::shared_ptr<Impl> impl_;
 };
 
 
This page took 0.018565 seconds and 4 git commands to generate.