summaryrefslogtreecommitdiffstats
path: root/source/Mobs/Pig.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/Mobs/Pig.h')
-rw-r--r--source/Mobs/Pig.h23
1 files changed, 17 insertions, 6 deletions
diff --git a/source/Mobs/Pig.h b/source/Mobs/Pig.h
index e701535ba..018477778 100644
--- a/source/Mobs/Pig.h
+++ b/source/Mobs/Pig.h
@@ -1,14 +1,25 @@
+
#pragma once
#include "PassiveMonster.h"
-class cPig : public cPassiveMonster
+
+
+
+
+class cPig :
+ public cPassiveMonster
{
+ typedef cPassiveMonster super;
+
public:
- cPig();
- ~cPig();
+ cPig(void);
+
+ virtual bool IsA(const char * a_EntityType) override;
+
+ virtual void GetDrops(cItems & a_Drops, cPawn * a_Killer = NULL) override;
+} ;
+
+
- virtual bool IsA( const char* a_EntityType );
- virtual void KilledBy( cEntity* a_Killer );
-};