summaryrefslogtreecommitdiff
path: root/src/game-server/player.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/game-server/player.hpp')
-rw-r--r--src/game-server/player.hpp21
1 files changed, 5 insertions, 16 deletions
diff --git a/src/game-server/player.hpp b/src/game-server/player.hpp
index 426738d7..bd1ec997 100644
--- a/src/game-server/player.hpp
+++ b/src/game-server/player.hpp
@@ -51,9 +51,11 @@ class Player : public Being, public PlayerData
Player(std::string const &name, int id = -1)
: Being(OBJECT_PLAYER, 65535),
PlayerData(name, id),
- mClient(NULL),
- mAction(PLAYER_STAND)
- {}
+ mClient(NULL)
+ {
+ mHitpoints=5;
+ mSize = 16;
+ }
/**
* Updates the internal status.
@@ -61,18 +63,6 @@ class Player : public Being, public PlayerData
void update();
/**
- * Sets next action.
- **/
- void setAction(int s)
- { mAction = s; }
-
- /**
- * Gets next action.
- **/
- int getAction() const
- { return mAction; }
-
- /**
* Gets client computer.
*/
GameClient *getClient() const
@@ -89,7 +79,6 @@ class Player : public Being, public PlayerData
Player &operator=(Player const &);
GameClient *mClient; /**< Client computer. */
- unsigned char mAction; /**< Player state. */
};
#endif // _TMWSERV_PLAYER_H_