summaryrefslogtreecommitdiff
path: root/src/mumblemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-09-02 14:05:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-09-02 14:05:30 +0300
commit962f182fcc989ec587282e44f889188ce241ba31 (patch)
treeda100971ec4952d0c56cb404862099c670bcfe0e /src/mumblemanager.h
parent4df121e6dcdf53436f50ce81dd60096ce0138a2c (diff)
downloadmanaplus-962f182fcc989ec587282e44f889188ce241ba31.tar.gz
manaplus-962f182fcc989ec587282e44f889188ce241ba31.tar.bz2
manaplus-962f182fcc989ec587282e44f889188ce241ba31.tar.xz
manaplus-962f182fcc989ec587282e44f889188ce241ba31.zip
Add const to more classes.
Diffstat (limited to 'src/mumblemanager.h')
-rw-r--r--src/mumblemanager.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mumblemanager.h b/src/mumblemanager.h
index 480bacfab..c95d8b4de 100644
--- a/src/mumblemanager.h
+++ b/src/mumblemanager.h
@@ -41,16 +41,16 @@ class MumbleManager
void setPlayer(const std::string &userName);
- void setAction(int action);
+ void setAction(const int action);
- void setPos(int tileX, int tileY, int direction);
+ void setPos(const int tileX, const int tileY, const int direction);
void setMap(const std::string &mapName);
void setServer(const std::string &serverName);
private:
- uint16_t getMapId(std::string mapName);
+ uint16_t getMapId(std::string mapName) const;
void setMapBase(uint16_t mapid);