C# Класс Descent.Model.Board.Marker.ChestMarker

A marker of a chest, on the board
Наследование: Marker
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
ChestMarker ( int id, string name, int movementCost, EquipmentRarity rarity, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Diagnostics.Contracts
PickUp ( Hero hero ) : void

Will get a random chest Id and queue the event to open that chest

Описание методов

ChestMarker() публичный Метод

public ChestMarker ( int id, string name, int movementCost, EquipmentRarity rarity, Microsoft.Xna.Framework.Graphics.Texture2D texture ) : System.Diagnostics.Contracts
id int
name string
movementCost int
rarity EquipmentRarity
texture Microsoft.Xna.Framework.Graphics.Texture2D
Результат System.Diagnostics.Contracts

PickUp() публичный Метод

Will get a random chest Id and queue the event to open that chest
public PickUp ( Hero hero ) : void
hero Hero /// The hero that opend the chest ///
Результат void