C# Class Descent.Model.Board.Marker.MoneyMarker

A type of marker, that has money on it
Inheritance: Marker
Show file Open project: nezbo/Descent Class Usage Examples

Public Methods

Method Description
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

Method Details

MoneyMarker() public method

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
return System.Diagnostics.Contracts

PickUp() public method

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