… | |
… | |
288 | maptile (); |
288 | maptile (); |
289 | ~maptile (); |
289 | ~maptile (); |
290 | void do_destroy (); |
290 | void do_destroy (); |
291 | void gather_callbacks (AV *&callbacks, event_type event) const; |
291 | void gather_callbacks (AV *&callbacks, event_type event) const; |
292 | |
292 | |
293 | void allocate (); |
293 | MTH void allocate (); |
294 | |
294 | |
295 | int size () const { return width * height; } |
295 | MTH int size () const { return width * height; } |
296 | |
296 | |
297 | mapspace const &at (uint32 x, uint32 y) const { return spaces [x + width * y]; } |
297 | mapspace const &at (uint32 x, uint32 y) const { return spaces [x + width * y]; } |
298 | mapspace &at (uint32 x, uint32 y) { return spaces [x + width * y]; } |
298 | mapspace &at (uint32 x, uint32 y) { return spaces [x + width * y]; } |
299 | }; |
299 | }; |
300 | |
300 | |