C# 클래스 Aura.Channel.World.Dungeons.Puzzles.MonsterGroup

파일 보기 프로젝트 열기: aura-project/aura 1 사용 예제들

공개 메소드들

메소드 설명
AddDrop ( Item item ) : void

Adds item to the drops of one random monster in this group.

AddKeyForLock ( PuzzlePlace lockPlace ) : void

Adds key for lock place to a random monster of this group as a drop.

Allocate ( DungeonMonsterGroupData groupData ) : void

Creates monsters from group data and adds them to internal list.

MonsterGroup ( string name, Aura.Channel.World.Dungeons.Puzzles.Puzzle puzzle, PuzzlePlace place, Placement spawnPosition = Placement.Random ) : Aura.Channel.World.Entities

Creates new monster group.

Spawn ( ) : void

Spawns monsters from internal list.

비공개 메소드들

메소드 설명
OnDeath ( Creature creature, Creature killer ) : void

Raised when one of the monsters dies.

메소드 상세

AddDrop() 공개 메소드

Adds item to the drops of one random monster in this group.
public AddDrop ( Item item ) : void
item Item
리턴 void

AddKeyForLock() 공개 메소드

Adds key for lock place to a random monster of this group as a drop.
public AddKeyForLock ( PuzzlePlace lockPlace ) : void
lockPlace PuzzlePlace
리턴 void

Allocate() 공개 메소드

Creates monsters from group data and adds them to internal list.
public Allocate ( DungeonMonsterGroupData groupData ) : void
groupData DungeonMonsterGroupData
리턴 void

MonsterGroup() 공개 메소드

Creates new monster group.
public MonsterGroup ( string name, Aura.Channel.World.Dungeons.Puzzles.Puzzle puzzle, PuzzlePlace place, Placement spawnPosition = Placement.Random ) : Aura.Channel.World.Entities
name string
puzzle Aura.Channel.World.Dungeons.Puzzles.Puzzle
place PuzzlePlace
spawnPosition Placement
리턴 Aura.Channel.World.Entities

Spawn() 공개 메소드

Spawns monsters from internal list.
public Spawn ( ) : void
리턴 void