Drag[en]gine Script Module DragonScript 1.35
Loading...
Searching...
No Matches
Dragengine.Scenery.SpawnPointList Class Reference

List of spawn points. More...

Inheritance diagram for Dragengine.Scenery.SpawnPointList:

Public Member Functions

void add (SpawnPoint spawnPoint)
 Add spawn point.
void forEach (Block ablock)
 Visit spawn pointes using block.
int getCount ()
 Number of spawn points.
SpawnPoint getNamed (String name)
 Named spawn point or null if absent.
bool hasNamed (String name)
 Named spawn point is present.
SpawnPointList new ()
 Create spawn point list.
void remove (SpawnPoint spawnPoint)
 Remove spawn point.
void removeAll ()
 Remove all spawn points.
void removeNamed (String name)
 Remove named spawn point if present.

Detailed Description

List of spawn points.

Member Function Documentation

◆ add()

void Dragengine.Scenery.SpawnPointList.add ( SpawnPoint spawnPoint)

Add spawn point.

Referenced by removeNamed().

◆ forEach()

void Dragengine.Scenery.SpawnPointList.forEach ( Block ablock)

Visit spawn pointes using block.

Block parameter is of type SpawnPoint.

References forEach(), removeAll(), and removeNamed().

Referenced by forEach().

◆ getCount()

int Dragengine.Scenery.SpawnPointList.getCount ( )

Number of spawn points.

References getCount().

Referenced by getCount().

◆ getNamed()

SpawnPoint Dragengine.Scenery.SpawnPointList.getNamed ( String name)

Named spawn point or null if absent.

Referenced by hasNamed().

◆ hasNamed()

bool Dragengine.Scenery.SpawnPointList.hasNamed ( String name)

Named spawn point is present.

References getNamed().

Referenced by remove().

◆ new()

SpawnPointList Dragengine.Scenery.SpawnPointList.new ( )

Create spawn point list.

References new().

Referenced by new().

◆ remove()

void Dragengine.Scenery.SpawnPointList.remove ( SpawnPoint spawnPoint)

Remove spawn point.

References hasNamed().

◆ removeAll()

void Dragengine.Scenery.SpawnPointList.removeAll ( )

Remove all spawn points.

Referenced by forEach().

◆ removeNamed()

void Dragengine.Scenery.SpawnPointList.removeNamed ( String name)

Remove named spawn point if present.

References add().

Referenced by forEach().


The documentation for this class was generated from the following file: