Isle
Loading...
Searching...
No Matches
CursorVariable Class Reference

[AI] Variable to represent game cursor (pointer) state. More...

#include <legovariables.h>

Inheritance diagram for CursorVariable:
Collaboration diagram for CursorVariable:

Public Member Functions

 CursorVariable ()
 [AI] Initializes the CursorVariable and sets its key to g_varCURSOR. [AI] More...
 
void SetValue (const char *p_value) override
 [AI] Sets the value of this variable—actual implementation is a stub. More...
 
- Public Member Functions inherited from MxVariable
 MxVariable ()
 [AI] Constructs an empty variable with no key or value. More...
 
 MxVariable (const char *p_key, const char *p_value)
 [AI] Constructs a variable with the specified key and value. More...
 
 MxVariable (const char *p_key)
 [AI] Constructs a variable with the specified key and no value. More...
 
virtual MxStringGetValue ()
 [AI] Retrieves a pointer to the variable's value. More...
 
virtual void SetValue (const char *p_value)
 [AI] Sets the variable's value. More...
 
virtual void Destroy ()
 [AI] Destroys the variable, deleting the object. More...
 
const MxStringGetKey () const
 [AI] Provides read-only access to the variable's key/name. More...
 

Additional Inherited Members

- Protected Attributes inherited from MxVariable
MxString m_key
 [AI] The variable's key (name), always stored in uppercase. More...
 
MxString m_value
 [AI] The variable's value. More...
 

Detailed Description

[AI] Variable to represent game cursor (pointer) state.

[AI]

[AI] Used for scripting or game logic changes to the onscreen cursor. The variable key is set to g_varCURSOR. Actual processing and usage are stub or to be implemented.

Definition at line 96 of file legovariables.h.

Constructor & Destructor Documentation

◆ CursorVariable()

CursorVariable::CursorVariable ( )
inline

[AI] Initializes the CursorVariable and sets its key to g_varCURSOR. [AI]

Definition at line 99 of file legovariables.h.

Member Function Documentation

◆ SetValue()

void CursorVariable::SetValue ( const char *  p_value)
overridevirtual

[AI] Sets the value of this variable—actual implementation is a stub.

[AI]

Parameters
p_valueThe new value. [AI]

Reimplemented from MxVariable.

Definition at line 150 of file legovariables.cpp.


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