Méthode | Description | |
---|---|---|
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
|
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 | |
Résultat | System.Diagnostics.Contracts |
public PickUp ( Hero hero ) : void | ||
hero | Hero | /// The hero that opend the chest /// |
Résultat | void |