[AI] Represents an entity corresponding to a building within the LEGO Island game world.
MxLong Notify(MxParam &p_param) override
[AI] Handles notification parameters sent to this entity.
~BuildingEntity() override
[AI] Destroys the BuildingEntity and unregisters it from notification events. [AI]
virtual MxLong HandleClick(LegoEventNotificationParam &p_param)=0
[AI] Abstract method called when this building entity receives a click notification.
Notification parameter class for LEGO event notifications such as mouse events and modifier keys.
void Unregister(MxCore *p_listener)
[AI] Removes a previously registered listener and flushes any pending notifications for it.
void Register(MxCore *p_listener)
[AI] Registers a listener object to receive notifications.
[AI] Parameter object representing a single notification or event, carrying an identifier and sender ...
NotificationId GetNotification() const
[AI] Retrieves the current notification type of this parameter.
[AI] MxParam serves as a polymorphic base class for parameter passing in event and notification syste...
#define DECOMP_SIZE_ASSERT(T, S)
MxNotificationManager * NotificationManager()
[AI] Returns the notification manager for system-wide state/update notifications.
@ c_notificationClick
[AI] Mouse click event [AI]