Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions
SetCommand Class Reference

#include <debugger.hpp>

Inheritance diagram for SetCommand:
Command

Public Member Functions

 SetCommand ()
 
void run (std::vector< std::string > arguments, ServerGameState &state) override
 The Command's run() method is overloaded by each particular command to implement its particular behavior. More...
 
virtual void run (std::vector< std::string > arguments, ServerGameState &state)=0
 The Command's run() method is overloaded by each particular command to implement its particular behavior. More...
 

Additional Inherited Members

- Data Fields inherited from Command
std::string name
 The Command's name. When the user enters an input string, the first word is treated as the intended command name, and if the debugger finds a command with a matching name, it will attempt to run it. More...
 
std::string shorthand
 Alternative shorthand name that also refers to this command. More...
 

Constructor & Destructor Documentation

◆ SetCommand()

SetCommand::SetCommand ( )
inline

Member Function Documentation

◆ run()

void SetCommand::run ( std::vector< std::string >  arguments,
ServerGameState state 
)
inlineoverridevirtual

The Command's run() method is overloaded by each particular command to implement its particular behavior.

Parameters
argumentsVector of string arguments from user
stateReference to the ServerGameState instance maintained by the debugger.

Implements Command.


The documentation for this class was generated from the following file: