-
Notifications
You must be signed in to change notification settings - Fork 7
EntitiesSpawner
27abdullah edited this page Oct 3, 2023
·
13 revisions
The entities spawner handles periodic spawning of multiple entities within the GameArea
. The spawner can be configured in various ways to customise the quantity of entities spawned and the frequency of their spawning.
The following code outlines how to spawn passive animals periodically. In SpaceGameArea
create()
, add spawnNow().