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

Public Member Functions | |
| ShootInRangeCommand (Person *person, int range) | |
| ShootInRangeCommand (List *command) | |
| void | execute () | 
| std::string | getString () | 
Static Public Member Functions | |
| static std::string | id () | 
Private Attributes | |
| Person * | _person | 
| int | _shootRange | 
Static Private Attributes | |
| static const std::string | _id = "shootPlayer" | 
Definition at line 157 of file Command.h.
      
  | 
  ||||||||||||
| 
 
 Definition at line 14 of file ShootInRangeCommand.cpp.  | 
  
      
  | 
  
| 
 
 Definition at line 19 of file ShootInRangeCommand.cpp. References _person, _shootRange, List::firstInt(), List::firstString(), Level::getObject(), Level::instance(), and List::rest().  | 
  
      
  | 
  
| 
 
 Implements Command. Definition at line 27 of file ShootInRangeCommand.cpp. References _person, _shootRange, Object::getBox(), Level::getPlayer(), Level::instance(), glfuncs::intersectX(), and glfuncs::intersectY().  | 
  
      
  | 
  
| 
 
 Implements Command. Definition at line 40 of file ShootInRangeCommand.cpp. References _id, _person, _shootRange, List::getString(), Object::id(), and List::snoc().  | 
  
      
  | 
  
| 
 
 Definition at line 165 of file Command.h. References _id. Referenced by Command::loadCommand().  | 
  
      
  | 
  
| 
 
 Definition at line 169 of file Command.h. Referenced by getString(), and id().  | 
  
      
  | 
  
| 
 
 Definition at line 167 of file Command.h. Referenced by execute(), getString(), and ShootInRangeCommand().  | 
  
      
  | 
  
| 
 
 Definition at line 168 of file Command.h. Referenced by execute(), getString(), and ShootInRangeCommand().  | 
  
 1.4.6-NO