C# Class Some2DRPG.GameObjects.Misc.Coin

Inheritance: CollidableEntity
Afficher le fichier Open project: MichaelAquilina/Some-2D-RPG Class Usage Examples

Méthodes publiques

Méthode Description
Coin ( ) : System
Coin ( float x, float y, int coinValue, CoinType coinType ) : System
LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
ToString ( ) : string
Update ( GameTime gameTime, GameEngine.TeeEngine engine ) : void

Private Methods

Méthode Description
Construct ( float x, float y, CoinType coinType = CoinType.Copper, int coinValue ) : void

Method Details

Coin() public méthode

public Coin ( ) : System
Résultat System

Coin() public méthode

public Coin ( float x, float y, int coinValue, CoinType coinType ) : System
x float
y float
coinValue int
coinType CoinType
Résultat System

LoadContent() public méthode

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string

Update() public méthode

public Update ( GameTime gameTime, GameEngine.TeeEngine engine ) : void
gameTime Microsoft.Xna.Framework.GameTime
engine GameEngine.TeeEngine
Résultat void