summaryrefslogtreecommitdiffstats
path: root/src/Mobs/Behaviors/Behavior.h
blob: 81499eadeb590f850f7a6727683bc5b8f0d9f180 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once

struct TakeDamageInfo;
class cBehavior
{
public:
	virtual bool IsControlDesired();
	virtual bool ControlStarting();
	virtual bool ControlEnding();
	virtual void Tick();
	virtual void PostTick();
	virtual void PreTick();


	virtual void onRightClicked();
	virtual void Destroyed();
	virtual void DoTakeDamage(TakeDamageInfo & a_TDI);
	virtual ~cBehavior() {}
};