ScummVM API documentation
Queen::CmdText Class Reference

Public Types

enum  { MAX_COMMAND_LEN = 256, COMMAND_Y_POS = 151 }
 

Public Member Functions

 CmdText (uint8 y, QueenEngine *vm)
 
void clear ()
 reset the command sentence
 
void display (InkColor color, const char *command=0, bool outlined=false)
 display the command sentence using the specified color
 
void displayTemp (InkColor color, Verb v)
 display a temporary command sentence using the specified parameters
 
virtual void displayTemp (InkColor color, const char *name, bool outlined)
 display a temporary command sentence using the specified parameters
 
void setVerb (Verb v)
 set the verb for the command sentence
 
virtual void addLinkWord (Verb v)
 set the link word (between verb and object) for the command sentence
 
virtual void addObject (const char *objName)
 add an object name to the command sentence
 
bool isEmpty () const
 returns true if the command sentence is empty
 

Static Public Member Functions

static CmdTextmakeCmdTextInstance (uint8 y, QueenEngine *vm)
 

Protected Attributes

char _command [MAX_COMMAND_LEN]
 buffer containing the current command sentence
 
uint8 _y
 
QueenEngine_vm
 

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