C# 클래스 Descent.Model.Player.Figure.HeroStuff.Treasure

A treasure, that can be in a chest, either a piece of equipment or a treasure cache
파일 보기 프로젝트 열기: nezbo/Descent

공개 메소드들

메소드 설명
Treasure ( int id, string name, EquipmentRarity rarity, Equipment equipment, int coins ) : System.Diagnostics.Contracts

Initializes a new instance of the Treasure class.

비공개 메소드들

메소드 설명
ObjectInvariant ( ) : void

메소드 상세

Treasure() 공개 메소드

Initializes a new instance of the Treasure class.
public Treasure ( int id, string name, EquipmentRarity rarity, Equipment equipment, int coins ) : System.Diagnostics.Contracts
id int /// The id of the treasure ///
name string /// The name of the treasure ///
rarity EquipmentRarity /// The rarity of the treasure ///
equipment Equipment /// The equipment equipment in the treasure ///
coins int /// The amount of coins in the treasure ///
리턴 System.Diagnostics.Contracts