diff options
author | Samuel Barney <samjbarney@gmail.com> | 2014-08-21 02:56:31 +0200 |
---|---|---|
committer | Samuel Barney <samjbarney@gmail.com> | 2014-08-21 02:56:31 +0200 |
commit | 34e0bc759326803ead6e752533b402ff32db9dd2 (patch) | |
tree | f535df9df31aaac33f5f8461733503a842adea66 /src/Mobs/NewWolf.h | |
parent | Temporarily instantiating components here. (diff) | |
download | cuberite-34e0bc759326803ead6e752533b402ff32db9dd2.tar cuberite-34e0bc759326803ead6e752533b402ff32db9dd2.tar.gz cuberite-34e0bc759326803ead6e752533b402ff32db9dd2.tar.bz2 cuberite-34e0bc759326803ead6e752533b402ff32db9dd2.tar.lz cuberite-34e0bc759326803ead6e752533b402ff32db9dd2.tar.xz cuberite-34e0bc759326803ead6e752533b402ff32db9dd2.tar.zst cuberite-34e0bc759326803ead6e752533b402ff32db9dd2.zip |
Diffstat (limited to 'src/Mobs/NewWolf.h')
-rw-r--r-- | src/Mobs/NewWolf.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/src/Mobs/NewWolf.h b/src/Mobs/NewWolf.h new file mode 100644 index 000000000..6df63d795 --- /dev/null +++ b/src/Mobs/NewWolf.h @@ -0,0 +1,43 @@ + +#pragma once + +#include "NewMonster.h" +#include "../Entities/Entity.h" + + + + + +class cNewWolf : + public cNewMonster +{ + typedef cNewMonster super; + +public: + cNewWolf(void); + + CLASS_PROTODEF(cNewWolf) + + // Get functions + bool IsSitting (void) const { return m_IsSitting; } + bool IsBegging (void) const { return m_IsBegging; } + bool IsAngry (void) const { return m_IsAngry; } + int GetCollarColor(void) const { return m_CollarColor; } + + // Set functions + void SetIsSitting (bool a_IsSitting) { m_IsSitting = a_IsSitting; } + void SetIsBegging (bool a_IsBegging) { m_IsBegging = a_IsBegging; } + void SetIsAngry (bool a_IsAngry) { m_IsAngry = a_IsAngry; } + void SetCollarColor(int a_CollarColor) { m_CollarColor = a_CollarColor; } + +protected: + + bool m_IsSitting; + bool m_IsBegging; + bool m_IsAngry; + int m_CollarColor; +} ; + + + + |