summaryrefslogblamecommitdiffstats
path: root/src/Mobs/Behaviors/Behavior.h
blob: 81499eadeb590f850f7a6727683bc5b8f0d9f180 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12

            
                      








                                        

 

                                      

                                                          
  
#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() {}
};