mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-09-28 02:00:44 +00:00
chore: format Minecraft.World
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
class Sensing
|
||||
{
|
||||
class Sensing {
|
||||
private:
|
||||
Mob *mob;
|
||||
std::vector<std::weak_ptr<Entity> > seen;
|
||||
std::vector<std::weak_ptr<Entity> > unseen;
|
||||
Mob* mob;
|
||||
std::vector<std::weak_ptr<Entity> > seen;
|
||||
std::vector<std::weak_ptr<Entity> > unseen;
|
||||
|
||||
public:
|
||||
Sensing(Mob *mob);
|
||||
Sensing(Mob* mob);
|
||||
|
||||
void tick();
|
||||
bool canSee(std::shared_ptr<Entity> target);
|
||||
void tick();
|
||||
bool canSee(std::shared_ptr<Entity> target);
|
||||
};
|
||||
Reference in New Issue
Block a user