Skip to content

EntitiesSpawner

27abdullah edited this page Oct 3, 2023 · 13 revisions

Introduction

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.

Usage

The following code outlines how to spawn passive animals periodically. In SpaceGameArea create(), add spawnNow().

Clone this wiki locally