summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h15
1 files changed, 5 insertions, 10 deletions
diff --git a/src/player.h b/src/player.h
index f953c207..091ace74 100644
--- a/src/player.h
+++ b/src/player.h
@@ -27,9 +27,8 @@
#include <vector>
#include "being.h"
-#include "inventory.h"
-
#include "defines.h"
+#include "inventory.h"
#include "utils/countedptr.h"
class GameClient;
@@ -42,8 +41,8 @@ class Player : public Being
: Being(OBJECT_PLAYER, 65535),
mDatabaseID(id),
mName(name),
- mIsAttacking(false),
- mClient(NULL)
+ mClient(NULL),
+ mIsAttacking(false)
{}
/**
@@ -157,11 +156,6 @@ class Player : public Being
*/
void update();
- /**
- * Performs an attack
- */
- virtual void performAttack (MapComposite* map);
-
/**
* Sets inventory.
*/
@@ -226,7 +220,8 @@ class Player : public Being
* Sets database ID.
* The object shall not have any ID yet.
*/
- void setDatabaseID(int id);
+ void setDatabaseID(int id)
+ { mDatabaseID = id; }
/**
* Gets client computer.