C# Class Some2DRPG.GameObjects.Misc.Coin

Inheritance: CollidableEntity
Mostra file Open project: MichaelAquilina/Some-2D-RPG Class Usage Examples

Public Methods

Method 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

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

Method Details

Coin() public method

public Coin ( ) : System
return System

Coin() public method

public Coin ( float x, float y, int coinValue, CoinType coinType ) : System
x float
y float
coinValue int
coinType CoinType
return System

LoadContent() public method

public LoadContent ( Microsoft.Xna.Framework.Content.ContentManager content ) : void
content Microsoft.Xna.Framework.Content.ContentManager
return void

ToString() public method

public ToString ( ) : string
return string

Update() public method

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