blob: cbf9e078449d9e71a42e2641f2e3fb384edfd616 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#pragma once
class cMonster;
class cEntity;
class cChunk;
class cEnvironmentComponent
{
protected:
cMonster * m_Self;
int m_SightDistance;
public:
cEnvironmentComponent(cMonster * a_Entity);
virtual ~cEnvironmentComponent(){}
virtual void Tick(float a_Dt, cChunk & a_Chunk){}
// Get Functions
int GetSightDistance() { return m_SightDistance ; }
// Set Functions
void SetSightDistance(int a_SightDistance) { m_SightDistance = a_SightDistance; }
};
|