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/NewPig.h | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/Mobs/NewPig.h (limited to 'src/Mobs/NewPig.h') diff --git a/src/Mobs/NewPig.h b/src/Mobs/NewPig.h new file mode 100644 index 000000000..2255c44c8 --- /dev/null +++ b/src/Mobs/NewPig.h @@ -0,0 +1,32 @@ + +#pragma once + +#include "NewMonster.h" + + + + + +class cNewPig : + public cNewMonster +{ + typedef cNewMonster super; + +public: + cNewPig(void); + + CLASS_PROTODEF(cNewPig) + + virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = NULL) override; + + bool IsSaddled(void) const { return m_bIsSaddled; } + +private: + + bool m_bIsSaddled; + +} ; + + + + -- cgit v1.2.3