virtual bool isLocal() const = 0;
bool touching_ground;
+ bool in_water;
Inventory inventory;
v3f m_position;
};
+class ServerRemotePlayer : public Player
+{
+public:
+ ServerRemotePlayer()
+ {
+ }
+ virtual ~ServerRemotePlayer()
+ {
+ }
+
+ bool isLocal() const
+ {
+ return false;
+ }
+
+private:
+};
+
+#ifndef SERVER
+
class RemotePlayer : public Player, public scene::ISceneNode
{
public:
core::aabbox3d<f32> m_box;
};
+#endif
+
+#ifndef SERVER
struct PlayerControl
{
PlayerControl()
private:
};
+#endif // !SERVER
#endif