Isle
Loading...
Searching...
No Matches
buildings.h
Go to the documentation of this file.
1#ifndef BUILDINGS_H
2#define BUILDINGS_H
3
4#include "buildingentity.h"
5
7
13public:
16 const char* ClassName() const override // vtable+0x0c
17 {
18 return "InfoCenterEntity";
19 }
20
25 MxBool IsA(const char* p_name) const override // vtable+0x10
26 {
27 return !strcmp(p_name, InfoCenterEntity::ClassName()) || BuildingEntity::IsA(p_name);
28 }
29
35 MxLong HandleClick(LegoEventNotificationParam& p_param) override; // vtable+0x50
36
37 // SYNTHETIC: LEGO1 0x1000f7b0
38 // InfoCenterEntity::`scalar deleting destructor'
39};
40
45public:
47 const char* ClassName() const override // vtable+0x0c
48 {
49 return "GasStationEntity";
50 }
51
54 MxBool IsA(const char* p_name) const override // vtable+0x10
55 {
56 return !strcmp(p_name, GasStationEntity::ClassName()) || BuildingEntity::IsA(p_name);
57 }
58
64
65 // SYNTHETIC: LEGO1 0x1000f890
66 // GasStationEntity::`scalar deleting destructor'
67};
68
72public:
74 const char* ClassName() const override // vtable+0x0c
75 {
76 return "HospitalEntity";
77 }
78
81 MxBool IsA(const char* p_name) const override // vtable+0x10
82 {
83 return !strcmp(p_name, HospitalEntity::ClassName()) || BuildingEntity::IsA(p_name);
84 }
85
90 MxLong HandleClick(LegoEventNotificationParam& p_param) override; // vtable+0x50
91
92 // SYNTHETIC: LEGO1 0x1000f820
93 // HospitalEntity::`scalar deleting destructor'
94};
95
99public:
101 const char* ClassName() const override // vtable+0x0c
102 {
103 return "PoliceEntity";
104 }
105
108 MxBool IsA(const char* p_name) const override // vtable+0x10
109 {
110 return !strcmp(p_name, PoliceEntity::ClassName()) || BuildingEntity::IsA(p_name);
111 }
112
117 MxLong HandleClick(LegoEventNotificationParam& p_param) override; // vtable+0x50
118
119 // SYNTHETIC: LEGO1 0x1000f900
120 // PoliceEntity::`scalar deleting destructor'
121};
122
126public:
128 const char* ClassName() const override // vtable+0x0c
129 {
130 return "BeachHouseEntity";
131 }
132
135 MxBool IsA(const char* p_name) const override // vtable+0x10
136 {
137 return !strcmp(p_name, BeachHouseEntity::ClassName()) || BuildingEntity::IsA(p_name);
138 }
139
145
146 // SYNTHETIC: LEGO1 0x1000f970
147 // BeachHouseEntity::`scalar deleting destructor'
148};
149
154 const char* ClassName() const override // vtable+0x0c
155 {
156 return "RaceStandsEntity";
157 }
158
161 MxBool IsA(const char* p_name) const override // vtable+0x10
162 {
163 return !strcmp(p_name, RaceStandsEntity::ClassName()) || BuildingEntity::IsA(p_name);
164 }
165
170 MxLong HandleClick(LegoEventNotificationParam& p_param) override;
171
172 // SYNTHETIC: LEGO1 0x1000f9e0
173 // RaceStandsEntity::`scalar deleting destructor'
174};
175
181 const char* ClassName() const override // vtable+0x0c
182 {
183 return "RaceStandsEntity";
184 }
185
188 MxBool IsA(const char* p_name) const override // vtable+0x10
189 {
190 return !strcmp(p_name, JailEntity::ClassName()) || BuildingEntity::IsA(p_name);
191 }
192
197 MxLong HandleClick(LegoEventNotificationParam& p_param) override;
198
199 // SYNTHETIC: LEGO1 0x1000fac0
200 // JailEntity::`scalar deleting destructor'
201};
202
209 const char* ClassName() const override // vtable+0x0c
210 {
211 return "RaceStandsEntity";
212 }
213
216 MxBool IsA(const char* p_name) const override // vtable+0x10
217 {
218 return !strcmp(p_name, CaveEntity::ClassName()) || BuildingEntity::IsA(p_name);
219 }
220
226 MxLong HandleClick(LegoEventNotificationParam& p_param) override;
227
228 // SYNTHETIC: LEGO1 0x1000fa50
229 // CaveEntity::`scalar deleting destructor'
230};
231
232#endif // BUILDINGS_H
[AI] Entity for the Beach House building in LEGO Island.
Definition: buildings.h:125
MxBool IsA(const char *p_name) const override
[AI] Checks whether this object is (or inherits from) "BeachHouseEntity".
Definition: buildings.h:135
MxLong HandleClick(LegoEventNotificationParam &p_param) override
[AI] Handles click events specific to the Beach House building.
Definition: buildings.cpp:153
const char * ClassName() const override
[AI] Returns the class name ("BeachHouseEntity") for runtime type identification.
Definition: buildings.h:128
[AI] Represents an entity corresponding to a building within the LEGO Island game world.
MxBool IsA(const char *p_name) const override
[AI] Checks if this object is of a given class or one of its superclasses.
[AI] Entity for the Cave building in LEGO Island.
Definition: buildings.h:206
[AI] Entity for the Gas Station building in LEGO Island.
Definition: buildings.h:44
MxLong HandleClick(LegoEventNotificationParam &p_param) override
[AI] Handles click events specific to the Gas Station building.
Definition: buildings.cpp:81
const char * ClassName() const override
[AI] Returns the class name ("GasStationEntity") for runtime type identification.
Definition: buildings.h:47
MxBool IsA(const char *p_name) const override
[AI] Checks whether this object is (or inherits from) "GasStationEntity".
Definition: buildings.h:54
[AI] Entity for the Hospital building in LEGO Island.
Definition: buildings.h:71
MxLong HandleClick(LegoEventNotificationParam &p_param) override
[AI] Handles click events specific to the Hospital building.
Definition: buildings.cpp:105
const char * ClassName() const override
[AI] Returns the class name ("HospitalEntity") for runtime type identification.
Definition: buildings.h:74
MxBool IsA(const char *p_name) const override
[AI] Checks whether this object is (or inherits from) "HospitalEntity".
Definition: buildings.h:81
[AI] Entity for the Information Center building in LEGO Island.
Definition: buildings.h:12
const char * ClassName() const override
[AI] Returns the class name ("InfoCenterEntity") for runtime type identification.
Definition: buildings.h:16
MxLong HandleClick(LegoEventNotificationParam &p_param) override
[AI] Handles click events specific to the Information Center building.
Definition: buildings.cpp:43
MxBool IsA(const char *p_name) const override
[AI] Checks whether this object is of a certain class type or derives from it.
Definition: buildings.h:25
[AI] Entity for the Jail building in LEGO Island.
Definition: buildings.h:178
Notification parameter class for LEGO event notifications such as mouse events and modifier keys.
[AI] Entity for the Police building in LEGO Island.
Definition: buildings.h:98
MxBool IsA(const char *p_name) const override
[AI] Checks whether this object is (or inherits from) "PoliceEntity".
Definition: buildings.h:108
const char * ClassName() const override
[AI] Returns the class name ("PoliceEntity") for runtime type identification.
Definition: buildings.h:101
MxLong HandleClick(LegoEventNotificationParam &p_param) override
[AI] Handles click events specific to the Police building.
Definition: buildings.cpp:129
[AI] Entity for the Race Stands (grandstands) building in LEGO Island.
Definition: buildings.h:152
#define override
Definition: compat.h:21
MxU8 MxBool
[AI]
Definition: mxtypes.h:124
int MxLong
[AI]
Definition: mxtypes.h:83