<?phpnamespace App\Revisited\Land;/** An animal of the moon (docs/reborn.md "Creatures"); $state: idle, wander, flee, hunt, attack, dead; $anim: seconds of its animation. */final class Creature{ public float $vx = 0.0; public float $vz = 0.0; public float $cooldown = 0.0; /** @var array<string, mixed> */ public array $data = []; public function __construct( public int $id, public string $species, public float $x, public float $y, public float $z, public float $yaw = 0.0, public float $health = 100.0, public string $state = 'idle', public float $anim = 0.0, ) { }}