Only auto aim and healthbars
This commit is contained in:
1 parent
54c6327ac7
commit
a914bd74fe
14 files changed
+95
-89
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user