C# Класс Aura.Channel.World.Dungeons.Puzzles.MonsterGroup

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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