C# 클래스 Descent.Model.Board.Marker.ChestMarker

A marker of a chest, on the board
상속: Marker
파일 보기 프로젝트 열기: nezbo/Descent 1 사용 예제들

공개 메소드들

메소드 설명
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