#include <Command.h>
Inheritance diagram for AddWeaponCommand:

Public Member Functions | |
| AddWeaponCommand (Player *player, std::string filename) | |
| AddWeaponCommand (List *command) | |
| void | execute () |
| std::string | getString () |
Static Public Member Functions | |
| static std::string | id () |
Private Attributes | |
| std::string | _filename |
| Player * | _player |
Static Private Attributes | |
| static const std::string | _id = "addWeapon" |
Definition at line 360 of file Command.h.
|
||||||||||||
|
Definition at line 12 of file AddWeaponCommand.cpp. |
|
|
Definition at line 17 of file AddWeaponCommand.cpp. References _filename, _player, List::firstString(), Level::getObject(), Level::instance(), and List::rest(). |
|
|
Implements Command. Definition at line 24 of file AddWeaponCommand.cpp. References _filename, _player, and Player::addSecondary(). |
|
|
Implements Command. Definition at line 29 of file AddWeaponCommand.cpp. References _filename, _id, _player, List::getString(), Object::id(), and List::snoc(). |
|
|
Definition at line 368 of file Command.h. References _id. Referenced by Command::loadCommand(). |
|
|
Definition at line 370 of file Command.h. Referenced by AddWeaponCommand(), execute(), and getString(). |
|
|
Definition at line 373 of file Command.h. Referenced by getString(), and id(). |
|
|
Definition at line 371 of file Command.h. Referenced by AddWeaponCommand(), execute(), and getString(). |
1.4.6-NO