Recast  1
Game with custom magic
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
CreateEntityCommand.h
Go to the documentation of this file.
1 
8 #ifndef RECAST_SERVER_CREATEENTITYCOMMAND_H
9 #define RECAST_SERVER_CREATEENTITYCOMMAND_H
10 
11 #include "commands/ICommand.hpp"
12 
13 class CreateEntityCommand : public ICommand {
14 public:
15  bool isOnlyUICommand() { return true; }
16 
17  bool isValid(const std::string &cmd, const std::vector<std::string> &args) const;
18 
19  void onCommand(ICommandSender &sender, const std::string &cmd, const std::vector<std::string> &args);
20 
21 
22 };
23 
24 
25 #endif //RECAST_SERVER_CREATEENTITYCOMMAND_H
bool isValid(const std::string &cmd, const std::vector< std::string > &args) const
Definition: CreateEntityCommand.cpp:15
void onCommand(ICommandSender &sender, const std::string &cmd, const std::vector< std::string > &args)
Definition: CreateEntityCommand.cpp:20
bool isOnlyUICommand()
Definition: CreateEntityCommand.h:15
Command file.
Definition: CreateEntityCommand.h:13
Definition: ICommandSender.hpp:12
Superclass for Command object.
Definition: ICommand.hpp:26