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

A type of marker, that has money on it
상속: Marker
파일 보기 프로젝트 열기: nezbo/Descent 1 사용 예제들

공개 메소드들

메소드 설명
MoneyMarker ( int id, string name, Microsoft.Xna.Framework.Graphics.Texture2D texture, int movementPoints ) : System.Diagnostics.Contracts
PickUp ( Hero hero ) : void

Gives all heroes 100 coins

메소드 상세

MoneyMarker() 공개 메소드

public MoneyMarker ( int id, string name, Microsoft.Xna.Framework.Graphics.Texture2D texture, int movementPoints ) : System.Diagnostics.Contracts
id int
name string
texture Microsoft.Xna.Framework.Graphics.Texture2D
movementPoints int
리턴 System.Diagnostics.Contracts

PickUp() 공개 메소드

Gives all heroes 100 coins
public PickUp ( Hero hero ) : void
hero Hero /// The hero standing on the marker ///
리턴 void