Method | Description | |
---|---|---|
PickUp ( Hero hero ) : void |
Picks up the potion
|
|
PotionMarker ( int id, string name, Microsoft.Xna.Framework.Graphics.Texture2D texture, int movementPoints, |
Initializes a new instance of the PotionMarker class.
|
public PotionMarker ( int id, string name, Microsoft.Xna.Framework.Graphics.Texture2D texture, int movementPoints, |
||
id | int | /// The id of the marker /// |
name | string | /// The name of the marker /// |
texture | Microsoft.Xna.Framework.Graphics.Texture2D | /// The texture of the marker /// |
movementPoints | int | /// The movement points it costs to pickup the marker /// |
potion | /// The potion that a hero will gain by picking it up /// | |
return | System.Diagnostics.Contracts |