Skip to content

Latest commit

 

History

History
53 lines (26 loc) · 749 Bytes

File metadata and controls

53 lines (26 loc) · 749 Bytes

Home > server > BaseEntityController > spawn

BaseEntityController.spawn() method

Override this method to handle the spawning of an entity to your entity controller.

Signature:

spawn(entity: Entity): void;

Parameters

Parameter

Type

Description

entity

Entity

The entity to spawn.

**Returns:**

void