]> Dogcows Code - chaz/yoink/blobdiff - src/Moof/Tilemap.cc
scene drawing correctly implemented; new classes
[chaz/yoink] / src / Moof / Tilemap.cc
index 1bfbfbcb9796e9b257970070b6243f2299a3b5eb..9f24b1bce91547a200bf7de7090f9ce6a8110ca8 100644 (file)
@@ -175,7 +175,7 @@ Tilemap::Tilemap(const std::string& name) :
 }
 
 
 }
 
 
-bool Tilemap::getTileCoords(unsigned index, Scalar coords[8])
+bool Tilemap::getTileCoords(unsigned index, Scalar coords[8]) const
 {
        // make sure the index represents a real tile
        if (index >= impl_->nTilesS_ * impl_->nTilesT_) return false;
 {
        // make sure the index represents a real tile
        if (index >= impl_->nTilesS_ * impl_->nTilesT_) return false;
@@ -197,7 +197,7 @@ bool Tilemap::getTileCoords(unsigned index, Scalar coords[8])
 }
 
 bool Tilemap::getTileCoords(unsigned index, Scalar coords[8],
 }
 
 bool Tilemap::getTileCoords(unsigned index, Scalar coords[8],
-               Orientation orientation)
+               Orientation orientation) const
 {
        if (getTileCoords(index, coords))
        {
 {
        if (getTileCoords(index, coords))
        {
This page took 0.017898 seconds and 4 git commands to generate.