C# 클래스 Aura.Channel.World.SpawnManager

파일 보기 프로젝트 열기: aura-project/aura

공개 메소드들

메소드 설명
Add ( CreatureSpawner spawner ) : void

Adds spawner to manager.

Clear ( ) : void

Disposes and removes all spawners.

Get ( int spawnerId ) : CreatureSpawner

Returns spawn with given id or null if it doesn't exist.

Spawn ( int raceId, int regionId, int x, int y, bool active, bool effect ) : NPC

Spawns a creature.

SpawnAll ( ) : void

Calls Spawn on all of the manager's spawners.

SpawnManager ( ) : Aura.Channel.Network.Sending

Creates new spawn manager.

메소드 상세

Add() 공개 메소드

Adds spawner to manager.
public Add ( CreatureSpawner spawner ) : void
spawner CreatureSpawner
리턴 void

Clear() 공개 메소드

Disposes and removes all spawners.
public Clear ( ) : void
리턴 void

Get() 공개 메소드

Returns spawn with given id or null if it doesn't exist.
public Get ( int spawnerId ) : CreatureSpawner
spawnerId int
리턴 CreatureSpawner

Spawn() 공개 메소드

Spawns a creature.
public Spawn ( int raceId, int regionId, int x, int y, bool active, bool effect ) : NPC
raceId int
regionId int
x int
y int
active bool
effect bool
리턴 Aura.Channel.World.Entities.NPC

SpawnAll() 공개 메소드

Calls Spawn on all of the manager's spawners.
public SpawnAll ( ) : void
리턴 void

SpawnManager() 공개 메소드

Creates new spawn manager.
public SpawnManager ( ) : Aura.Channel.Network.Sending
리턴 Aura.Channel.Network.Sending