first commit
This commit is contained in:
15
Minecraft.World/Sensing.h
Normal file
15
Minecraft.World/Sensing.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
class Sensing
|
||||
{
|
||||
private:
|
||||
Mob *mob;
|
||||
vector<weak_ptr<Entity> > seen;
|
||||
vector<weak_ptr<Entity> > unseen;
|
||||
|
||||
public:
|
||||
Sensing(Mob *mob);
|
||||
|
||||
void tick();
|
||||
bool canSee(shared_ptr<Entity> target);
|
||||
};
|
||||
Reference in New Issue
Block a user