From c57637b4c39319e0c0d5d80d0ae2884aec66d691 Mon Sep 17 00:00:00 2001 From: Perttu Ahola Date: Mon, 21 Feb 2011 00:45:14 +0200 Subject: Temporary commit; lots of test code and stuff --- src/player.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/player.h') 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: -- cgit v1.2.3