12 m_entity = (
LegoEntity*) CreateEntity(
"LegoActor");
14 SetEntityLocation(m_action->GetLocation(), m_action->GetDirection(), m_action->GetUp());
15 m_entity->Create(*m_action);
17 ProgressTickleState(e_starting);
39 memcpy(extraCopy, extraData, extraLength);
40 extraCopy[extraLength] =
'\0';
[AI] Handles presentation logic specific to LegoActor entities, such as their instantiation,...
void StartingTickle() override
[AI] Implements the "starting" tickle state, finalizing initialization and transitioning to streaming...
void ParseExtra() override
[AI] Parses extra script data attached to the action, passing it to the entity for command execution.
LegoEntity * m_entity
[AI] The entity instance managed by this presenter, typically created based on the current action.
[AI] Represents an entity that can be placed and managed in the LEGO Island world.
LegoROI * GetROI()
[AI] Gets the ROI (Realtime Object Instance) associated with this entity. [AI]
virtual void ParseAction(char *p_extra)
[AI] Parses an action description string (usually from script "extra" data) and sets up this entity's...
void GetExtra(MxU16 &p_extraLength, char *&p_extraData)
[AI] Retrieves the extra data and its length for this action.
void ProgressTickleState(TickleState p_tickleState)
[AI] Helper for advancing the presenter's tickle state and updating transition history.
MxDSAction * m_action
[AI] The associated action currently being presented by this presenter.
@ e_streaming
[AI] Streaming or rendering actively.
#define DECOMP_SIZE_ASSERT(T, S)
LegoWorld * CurrentWorld()
[AI] Accessor for the currently active LegoWorld instance. [AI]