1#ifndef BUILDINGENTITY_H
2#define BUILDINGENTITY_H
32 return "BuildingEntity";
[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()
[AI] Constructs a BuildingEntity and registers it for notification events. [AI]
~BuildingEntity() override
[AI] Destroys the BuildingEntity and unregisters it from notification events. [AI]
const char * ClassName() const override
[AI] Returns the class name of this entity type ("BuildingEntity").
virtual MxLong HandleClick(LegoEventNotificationParam &p_param)=0
[AI] Abstract method called when this building entity receives a click notification.
MxBool IsA(const char *p_name) const override
[AI] Checks if this object is of a given class or one of its superclasses.
[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.
Notification parameter class for LEGO event notifications such as mouse events and modifier keys.
[AI] MxParam serves as a polymorphic base class for parameter passing in event and notification syste...