1#pragma once 2 3class Sensing 4{ 5private: 6 Mob *mob; 7 vector<weak_ptr<Entity> > seen; 8 vector<weak_ptr<Entity> > unseen; 9 10public: 11 Sensing(Mob *mob); 12 13 void tick(); 14 bool canSee(shared_ptr<Entity> target); 15};