X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fyoink;a=blobdiff_plain;f=src%2Fmoof%2Fsprite.hh;h=3e3d17934ce04e6f32d537f41d0d96067eb71935;hp=3cee87281382c85800ead800267bd0190172ad18;hb=c143f7e806766a73cd69dc6e084e977641019ce6;hpb=382626aad0a683ed8642a6a807eea743db45f7f8 diff --git a/src/moof/sprite.hh b/src/moof/sprite.hh index 3cee872..3e3d179 100644 --- a/src/moof/sprite.hh +++ b/src/moof/sprite.hh @@ -31,11 +31,11 @@ class sprite public: sprite() {} - explicit sprite(const std::string& path, int tile = image::no_tile); + explicit sprite(const std::string& name, int tile = image::no_tile); explicit sprite(const image_handle& image, int tile = image::no_tile); explicit sprite(const sprite& sprite, int tile = image::no_tile); - void image(const std::string& path); + void image(const std::string& name); void tile(int tile); void bind() const;