Initial commit
This commit is contained in:
commit
b0e73a61aa
16345 files changed
+3104967
No files matched your search
@@ -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