Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
ICommandSender.hpp
Go to the documentation of this file.
1 #ifndef RECAST_SERVER_ICOMMANDSENDER_H
2 #define RECAST_SERVER_ICOMMANDSENDER_H
3 
4 #include <string>
5 
6 class Server;
7 
8 class Player;
9 
10 class Box2DWorld;
11 
13 public:
14  virtual bool isOP() const = 0;
15 
16  virtual Server *getServer() = 0;
17 
18  virtual Box2DWorld *getWorld() = 0;
19 
20  virtual Player *getPlayer() = 0;
21 
22  virtual void onMessage(const std::string &msg) = 0;
23 };
24 
25 
26 #endif //RECAST_SERVER_ICOMMANDSENDER_H
Main class in Recast Server.
Definition: Server.hpp:37
virtual Box2DWorld * getWorld()=0
Definition: Box2DWorld.h:26
virtual Server * getServer()=0
virtual void onMessage(const std::string &msg)=0
virtual Player * getPlayer()=0
virtual bool isOP() const =0
Definition: ICommandSender.hpp:12
Player class. XP, Life points and other.
Definition: Player.hpp:19