From 34e0bc759326803ead6e752533b402ff32db9dd2 Mon Sep 17 00:00:00 2001 From: Samuel Barney Date: Wed, 20 Aug 2014 18:56:31 -0600 Subject: Got the new mob classes implemented. --- src/Mobs/NewWolf.h | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 src/Mobs/NewWolf.h (limited to 'src/Mobs/NewWolf.h') 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; +} ; + + + + -- cgit v1.2.3