메소드 | 설명 | |
---|---|---|
Marker ( int id, string name, Microsoft.Xna.Framework.Graphics.Texture2D texture, int movementPoints ) : System.Diagnostics.Contracts |
Initializes a new instance of the Marker class.
|
|
PickUp ( Hero hero ) : void |
Picks up, or interacts with, the marker
|
메소드 | 설명 | |
---|---|---|
ObjectInvariant ( ) : void |
public Marker ( int id, string name, Microsoft.Xna.Framework.Graphics.Texture2D texture, int movementPoints ) : System.Diagnostics.Contracts | ||
id | int | /// The unique 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 that it costs to interact with it /// |
리턴 | System.Diagnostics.Contracts |
public abstract PickUp ( Hero hero ) : void | ||
hero | Hero | /// The hero, standing on the marker /// |
리턴 | void |