* @return True if index is valid, false otherwise.
*/
- bool getTileCoords(Index index, Scalar coords[8]);
+ bool getTileCoords(Index index, Scalar coords[8]) const;
/**
* @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);