From 7f819e46b584145e2cf2ea742ced9fab0ffc233e Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Sun, 26 Nov 2006 14:20:50 +0000 Subject: Made Being::mDirection protected, forcing the use of setDirection. Defaulted variant argument to 0 since this is the most common situation. Some SpriteDef refactoring, splitting up the loading into several methods, in preparation of adding support for including other sprites. --- src/animatedsprite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/animatedsprite.h') diff --git a/src/animatedsprite.h b/src/animatedsprite.h index e5a435f9..dde570e2 100644 --- a/src/animatedsprite.h +++ b/src/animatedsprite.h @@ -51,7 +51,7 @@ class AnimatedSprite * @param filename the file of the sprite to animate * @param variant the sprite variant */ - AnimatedSprite(const std::string& filename, int variant); + AnimatedSprite(const std::string& filename, int variant = 0); /** * Destructor. -- cgit v1.2.3-60-g2f50