This repository has been archived on 2026-05-14. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2026-03-02 17:37:16 +07:00

15 lines
205 B
C++

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