summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Monster.h
diff options
context:
space:
mode:
authorLogicParrot <LogicParrot@users.noreply.github.com>2017-08-22 14:15:36 +0200
committerLogicParrot <LogicParrot@users.noreply.github.com>2017-08-22 19:55:30 +0200
commit18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e (patch)
tree221db2c2a9f4c3388f50edf79d38448ca1a0e4a2 /src/Mobs/Monster.h
parentd (diff)
downloadcuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar
cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.gz
cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.bz2
cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.lz
cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.xz
cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.tar.zst
cuberite-18c3dd3b4fc6c40c103296e7b5a53a99fa5e758e.zip
Diffstat (limited to 'src/Mobs/Monster.h')
-rw-r--r--src/Mobs/Monster.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Mobs/Monster.h b/src/Mobs/Monster.h
index 6308b2945..144228fe7 100644
--- a/src/Mobs/Monster.h
+++ b/src/Mobs/Monster.h
@@ -11,6 +11,7 @@ class cClientHandle;
//Behavior fwds
+class cPassiveMonster;
class cBehaviorAggressive;
class cBehaviorBreeder;
class cBehaviorChaser;
@@ -226,9 +227,10 @@ public:
virtual cBehaviorStriker * GetBehaviorStriker();
virtual cBehaviorWanderer * GetBehaviorWanderer();
- // Polymorphic behavior functions
- virtual void InheritFromParents(cMonster * a_Parent1, cMonster * a_Parent2);
+ // Polymorphic behavior functions ("Skin-specific")
+ virtual void InheritFromParents(cPassiveMonster * a_Parent1, cPassiveMonster * a_Parent2);
virtual void GetFollowedItems(cItems & a_Items);
+ virtual void GetBreedingItems(cItems & a_Items);
protected: