ScummVM API documentation
MutationOfJB::ChangeCommand Class Reference
Inheritance diagram for MutationOfJB::ChangeCommand:
MutationOfJB::SeqCommand MutationOfJB::Command MutationOfJB::ChangeDoorCommand MutationOfJB::ChangeObjectCommand MutationOfJB::ChangeSceneCommand MutationOfJB::ChangeStaticCommand

Public Types

enum  ChangeRegister {
  NM, LT, SX, SY,
  XX, YY, XL, YL,
  WX, WY, SP, AC,
  FA, FR, NA, FS,
  CA, DS, DL, ND,
  NO, NS, PF, PL,
  PD
}
 
enum  ChangeOperation { SetValue, AddValue, SubtractValue }
 
- Public Types inherited from MutationOfJB::Command
enum  ExecuteResult { None, Finished, InProgress }
 

Public Member Functions

 ChangeCommand (uint8 sceneId, uint8 entityId, ChangeRegister reg, ChangeOperation op, const ChangeCommandValue &val)
 
- Public Member Functions inherited from MutationOfJB::SeqCommand
void setNextCommand (Command *nextCommand)
 
Commandnext () const override
 
- Public Member Functions inherited from MutationOfJB::Command
virtual ExecuteResult execute (ScriptExecutionContext &scriptExecCtx)=0
 
virtual Common::String debugString () const =0
 

Protected Member Functions

const char * getRegisterAsString () const
 
Common::String getValueAsString () const
 
const char * getOperationAsString () const
 

Protected Attributes

uint8 _sceneId
 
uint8 _entityId
 
ChangeRegister _register
 
ChangeOperation _operation
 
ChangeCommandValue _value
 

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