diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-05-13 17:52:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-05-13 17:52:35 +0300 |
commit | 12e311bd5261078e02bffe63e125f89ae1a57209 (patch) | |
tree | 9a71f8e4ca78ea6f5eb09ccdb3bd6cd95830c884 /src/localplayer.h | |
parent | 258f968327f6e790e11e809070c5ea5dc21a299c (diff) | |
download | manaverse-12e311bd5261078e02bffe63e125f89ae1a57209.tar.gz manaverse-12e311bd5261078e02bffe63e125f89ae1a57209.tar.bz2 manaverse-12e311bd5261078e02bffe63e125f89ae1a57209.tar.xz manaverse-12e311bd5261078e02bffe63e125f89ae1a57209.zip |
Move some code from logic queue to separate calls.
It can improve perfomance in slow systems.
Diffstat (limited to 'src/localplayer.h')
-rw-r--r-- | src/localplayer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h index c02fc21ce..708c40231 100644 --- a/src/localplayer.h +++ b/src/localplayer.h @@ -84,6 +84,8 @@ class LocalPlayer : public Being, public ActorSpriteListener, virtual void logic(); + void slowLogic(); + virtual void setAction(Action action, int attackType = 0); /** |