summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/BehaviorItemDropper.h
blob: 320b0c8d83893ed41777f6c9e6cd7861d18e98fa (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#pragma once

// mobTodo a more generic, not chickenspecific dropper
#include "Behavior.h"

class cBehaviorItemDropper : cBehavior
{
public:
	void AttachToMonster(cMonster & a_Parent);
	void PostTick(std::chrono::milliseconds a_Dt, cChunk & a_Chunk)  override;

private:
		cMonster * m_Parent;  // Our Parent
		int m_EggDropTimer;
};