Drag[en]gine Script Module DragonScript  1.23
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. More...
 
void forEach (Block ablock)
 Visit spawn pointes using block. More...
 
int getCount ()
 Number of spawn points. More...
 
SpawnPoint getNamed (String name)
 Named spawn point or null if absent. More...
 
bool hasNamed (String name)
 Named spawn point is present. More...
 
SpawnPointList new ()
 Create spawn point list. More...
 
void remove (SpawnPoint spawnPoint)
 Remove spawn point. More...
 
void removeAll ()
 Remove all spawn points. More...
 
void removeNamed (String name)
 Remove named spawn point if present. More...
 

Detailed Description

List of spawn points.

Member Function Documentation

◆ add()

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

Add spawn point.

◆ forEach()

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

Visit spawn pointes using block.

Block parameter is of type SpawnPoint.

◆ getCount()

int Dragengine.Scenery.SpawnPointList.getCount ( )

Number of spawn points.

◆ getNamed()

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

Named spawn point or null if absent.

◆ hasNamed()

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

Named spawn point is present.

◆ new()

SpawnPointList Dragengine.Scenery.SpawnPointList.new ( )

Create spawn point list.

◆ remove()

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

Remove spawn point.

◆ removeAll()

void Dragengine.Scenery.SpawnPointList.removeAll ( )

Remove all spawn points.

◆ removeNamed()

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

Remove named spawn point if present.


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