Isle
Loading...
Searching...
No Matches
buildingentity.h
Go to the documentation of this file.
1#ifndef BUILDINGENTITY_H
2#define BUILDINGENTITY_H
3
4#include "legoentity.h"
5
7
13class BuildingEntity : public LegoEntity {
14public:
17
19 ~BuildingEntity() override; // vtable+0x00
20
25 MxLong Notify(MxParam& p_param) override; // vtable+0x04
26
29 const char* ClassName() const override // vtable+0x0c
30 {
31 // STRING: LEGO1 0x100f07e8
32 return "BuildingEntity";
33 }
34
39 MxBool IsA(const char* p_name) const override // vtable+0x10
40 {
41 return !strcmp(p_name, BuildingEntity::ClassName()) || LegoEntity::IsA(p_name);
42 }
43
49
50 // SYNTHETIC: LEGO1 0x10015010
51 // BuildingEntity::`scalar deleting destructor'
52};
53
54#endif // BUILDINGENTITY_H
[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.
Definition: legoentity.h:16
MxBool IsA(const char *p_name) const override
[AI] Polymorphic type check for this entity given a string.
Definition: legoentity.h:59
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...
Definition: mxparam.h:7
#define override
Definition: compat.h:21
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
int MxLong
[AI]
Definition: mxtypes.h:83