From 1715d0afe44a282a356ca88e47c92ec556f094dd Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Fri, 27 Mar 2009 01:42:53 +0100 Subject: Fixed include structure in resource/ directory There is also a new rule that trivial constructors and destructors should no longer be trivially "documented", since this just takes up space with no gain. --- src/resources/animation.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'src/resources/animation.h') diff --git a/src/resources/animation.h b/src/resources/animation.h index 0c461ebe..f309dbf8 100644 --- a/src/resources/animation.h +++ b/src/resources/animation.h @@ -46,15 +46,13 @@ struct Frame class Animation { public: - /** - * Constructor. - */ Animation(); /** * Appends a new animation at the end of the sequence. */ - void addFrame(Image *image, unsigned int delay, int offsetX, int offsetY); + void addFrame(Image *image, unsigned int delay, + int offsetX, int offsetY); /** * Appends an animation terminator that states that the animation @@ -65,7 +63,7 @@ class Animation /** * Returns the frame at the specified index. */ - Frame* getFrame(int index) { return &(mFrames[index]); } + Frame *getFrame(int index) { return &(mFrames[index]); } /** * Returns the length of this animation in frames. -- cgit v1.2.3-70-g09d2