Only auto aim and healthbars

This commit is contained in:
armel committed 2026-09-07 23:02:47 +02:00
1 parent 54c6327ac7
commit a914bd74fe
14 files changed
+95 -89

No files matched your search

+1 -1
View File
@@ -59,7 +59,7 @@ final class GameEngineTest extends TestCase
'health' => 1,
]);
$room->addPlayer($player);
$zombie = new Zombie(944.4, 540.0, $room->entities, $room, ['emergeTime' => 0.0]);
$zombie = new Zombie(944.4, 540.0, $room->entities, $room, ['emergeTime' => 0.0, 'health' => 20]);
$zombie->target = $player;
$room->entities->append($zombie);
$engine->tick(1.0 / 60.0);