<?phpnamespace App\Revisited\Land;/** A human (docs/reborn.md "Npc factions"): haldi (friendly) or rodeur (hostile). */final class Npc{ public float $health = 100.0; /** @var array<string, mixed> */ public array $data = []; public function __construct( public int $id, public string $name, public string $faction, public float $x, public float $y, public float $z, public float $yaw = 0.0, public string $state = 'idle', public float $anim = 0.0, public bool $hostile = false, ) { }}