41 return "JukeBoxEntity";
[AI] Represents the jukebox interactive entity in LEGO Island, handling click events,...
~JukeBoxEntity() override
[AI] Destructor unregisters from the notification manager.
const char * ClassName() const override
[AI] Returns the class name of the JukeBoxEntity.
JukeBoxEntity()
[AI] Constructs the JukeBoxEntity, registering itself for notifications.
MxLong Notify(MxParam &p_param) override
[AI] Handles notification events relevant to the jukebox, e.g., click events to activate jukebox beha...
MxBool IsBackgroundAudioEnabled()
[AI] Returns whether background audio was enabled before the current jukebox action.
void StartAction()
[AI] Starts the jukebox action: plays the selected music track, sets proper animation,...
void StopAction(JukeboxScript::Script p_script)
[AI] Stops the given jukebox music and resets related animation/states.
MxBool m_audioEnabled
[AI] Whether background audio was enabled before this entity started its action.
MxBool IsA(const char *p_name) const override
[AI] Checks whether this entity matches the given class name, including parent class checks ("IsA" hi...
[AI] Represents an entity that can be placed and managed in the LEGO Island world.
MxBool IsA(const char *p_name) const override
[AI] Polymorphic type check for this entity given a string.
[AI] MxParam serves as a polymorphic base class for parameter passing in event and notification syste...