diff options
| author | Léo Lam <leo@leolam.fr> | 2020-12-02 21:19:13 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-12-02 23:11:51 +0100 |
| commit | bfbe2db425d0bfa4d03315053f0bcebd3a077618 (patch) | |
| tree | 9cb3388bc7b2c602817286c38c8220ff856f0e08 /src/KingSystem/Map | |
| parent | 3da63099f6ebe14fa5b4fc9d142a17b6026010ef (diff) | |
ksys/act: Implement ActorUtil placement functions
Diffstat (limited to 'src/KingSystem/Map')
| -rw-r--r-- | src/KingSystem/Map/mapObject.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/KingSystem/Map/mapObject.h b/src/KingSystem/Map/mapObject.h index 3f62b226..0640d0d1 100644 --- a/src/KingSystem/Map/mapObject.h +++ b/src/KingSystem/Map/mapObject.h @@ -148,6 +148,10 @@ public: auto getId() const { return mId; } auto getStaticCompoundId() const { return mStaticCompoundId; } + const ActorData& getActorData() const { + return PlacementMgr::instance()->mPlacementActors->mActorData[mActorDataIdx]; + } + u8 getNumLinksPointingToMe() const { return mNumLinksPointingToMe; } const MubinIter& getMubinIter() const { return mMubinIter; } |
