From 64aabf79b5a10bdf8192bb1048804a3e36730905 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 8 May 2014 22:47:30 +0300 Subject: Fix code style in resources. --- src/resources/action.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/resources/action.h') diff --git a/src/resources/action.h b/src/resources/action.h index 92fadfc89..64d8b40d8 100644 --- a/src/resources/action.h +++ b/src/resources/action.h @@ -23,6 +23,8 @@ #ifndef RESOURCES_ACTION_H #define RESOURCES_ACTION_H +#include "resources/spritedef.h" + #include #include "localconsts.h" @@ -41,10 +43,10 @@ class Action final ~Action(); - void setAnimation(const int direction, + void setAnimation(const SpriteDirection direction, Animation *const animation) noexcept; - const Animation *getAnimation(int direction) const + const Animation *getAnimation(SpriteDirection direction) const noexcept A_WARN_UNUSED; unsigned getNumber() const noexcept A_WARN_UNUSED -- cgit v1.2.3-60-g2f50