Framework for GM's and helpers for mounts (#651)

* Framework for GM's and helpers for mounts

* docs and spacing

* whitespace
This commit is contained in:
Aaron Kimbrell
2022-07-17 02:35:11 -05:00
committed by GitHub
parent 0d4f86b20b
commit ef8c2a40f3
7 changed files with 281 additions and 165 deletions

View File

@@ -36,6 +36,18 @@ class PossessorComponent : public Component {
*/
LWOOBJID GetPossessable() const { return m_Possessable; }
/**
* Sets if we are busy mounting or dismounting
* @param value if we are busy mounting or dismounting
*/
void SetIsBusy(bool value) { m_IsBusy = value; }
/**
* Returns if we are busy mounting or dismounting
* @return if we are busy mounting or dismounting
*/
bool GetIsBusy() const { return m_IsBusy; }
/**
* Sets the possesible type that's currently used, merely used by the shooting gallery if it's 0
* @param value the possesible type to set
@@ -60,4 +72,10 @@ class PossessorComponent : public Component {
*
*/
bool m_DirtyPossesor = false;
/**
* @brief if the possessor is busy mounting or dismounting
*
*/
bool m_IsBusy = false;
};