summaryrefslogtreecommitdiff
path: root/src/player.h
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-21 00:45:14 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-21 00:45:14 +0200
commitc57637b4c39319e0c0d5d80d0ae2884aec66d691 (patch)
tree72ba35937c701ec32d07bba3b6dde6fb2a9f2bc0 /src/player.h
parentf5ff378dd02431cdcf658b210509b170ea2135d1 (diff)
downloadminetest-c57637b4c39319e0c0d5d80d0ae2884aec66d691.tar.gz
minetest-c57637b4c39319e0c0d5d80d0ae2884aec66d691.tar.bz2
minetest-c57637b4c39319e0c0d5d80d0ae2884aec66d691.zip
Temporary commit; lots of test code and stuff
Diffstat (limited to 'src/player.h')
-rw-r--r--src/player.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/player.h b/src/player.h
index 16de6c924..710a9e0ed 100644
--- a/src/player.h
+++ b/src/player.h
@@ -132,6 +132,10 @@ protected:
v3f m_position;
};
+/*
+ Player on the server
+*/
+
class ServerRemotePlayer : public Player
{
public:
@@ -150,12 +154,16 @@ public:
virtual void move(f32 dtime, Map &map, f32 pos_max_d)
{
}
-
+
private:
};
#ifndef SERVER
+/*
+ All the other players on the client are these
+*/
+
class RemotePlayer : public Player, public scene::ISceneNode
{
public: