SetCameraCommand Class Reference

#include <Command.h>

Inheritance diagram for SetCameraCommand:

Command List of all members.

Public Member Functions

 SetCameraCommand (Object *object)
 SetCameraCommand (List *command)
void execute ()
std::string getString ()

Static Public Member Functions

static std::string id ()

Private Attributes

Object_object

Static Private Attributes

static const std::string _id = "setCamera"

Detailed Description

Definition at line 200 of file Command.h.


Constructor & Destructor Documentation

SetCameraCommand::SetCameraCommand Object object  ) 
 

Definition at line 11 of file SetCameraCommand.cpp.

SetCameraCommand::SetCameraCommand List command  ) 
 

Definition at line 17 of file SetCameraCommand.cpp.

References _object, List::firstString(), Level::getObject(), Level::instance(), and List::rest().


Member Function Documentation

void SetCameraCommand::execute  )  [virtual]
 

Implements Command.

Definition at line 23 of file SetCameraCommand.cpp.

References _object, Screen::instance(), and Screen::registerFollowObj().

std::string SetCameraCommand::getString  )  [virtual]
 

Implements Command.

Definition at line 28 of file SetCameraCommand.cpp.

References _id, _object, List::getString(), Object::id(), and List::snoc().

static std::string SetCameraCommand::id  )  [inline, static]
 

Definition at line 208 of file Command.h.

References _id.

Referenced by Command::loadCommand().


Member Data Documentation

const std::string SetCameraCommand::_id = "setCamera" [static, private]
 

Definition at line 211 of file Command.h.

Referenced by getString(), and id().

Object* SetCameraCommand::_object [private]
 

Definition at line 210 of file Command.h.

Referenced by execute(), getString(), and SetCameraCommand().


The documentation for this class was generated from the following files:
Generated on Sat Apr 22 15:05:21 2006 for ProjectX by  doxygen 1.4.6-NO