summaryrefslogtreecommitdiffstats
path: root/src/Mobs/SnowGolem.h
diff options
context:
space:
mode:
authorGargaj <gargaj@conspiracy.hu>2015-12-12 20:09:49 +0100
committerGargaj <gargaj@conspiracy.hu>2015-12-13 13:13:37 +0100
commite31676fe50587d6faae601a8678980b343f6419e (patch)
tree6b556fc45ec3b58799035c770f1deb1a9599d256 /src/Mobs/SnowGolem.h
parentMerge pull request #2738 from Gargaj/mobinheritance (diff)
downloadcuberite-e31676fe50587d6faae601a8678980b343f6419e.tar
cuberite-e31676fe50587d6faae601a8678980b343f6419e.tar.gz
cuberite-e31676fe50587d6faae601a8678980b343f6419e.tar.bz2
cuberite-e31676fe50587d6faae601a8678980b343f6419e.tar.lz
cuberite-e31676fe50587d6faae601a8678980b343f6419e.tar.xz
cuberite-e31676fe50587d6faae601a8678980b343f6419e.tar.zst
cuberite-e31676fe50587d6faae601a8678980b343f6419e.zip
Diffstat (limited to '')
-rw-r--r--src/Mobs/SnowGolem.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Mobs/SnowGolem.h b/src/Mobs/SnowGolem.h
index 9c95e21c5..708ddbef9 100644
--- a/src/Mobs/SnowGolem.h
+++ b/src/Mobs/SnowGolem.h
@@ -1,22 +1,22 @@
#pragma once
-#include "AggressiveMonster.h"
+#include "PassiveAggressiveMonster.h"
class cSnowGolem :
- public cAggressiveMonster
+ public cPassiveAggressiveMonster
{
- typedef cAggressiveMonster super;
-
+ typedef cPassiveAggressiveMonster super;
+
public:
cSnowGolem(void);
CLASS_PROTODEF(cSnowGolem)
-
+
virtual void Tick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk) override;
virtual void GetDrops(cItems & a_Drops, cEntity * a_Killer = nullptr) override;
} ;