C# Class RaceGame.Player

Class used to make multiple players and hold individual information
Mostrar archivo Open project: cjohnsson/Racing-Game Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
Player ( Control control, ITexture2DHolder carImage, System.Vector2 position, float startRotation ) : System
Update ( ) : void

Method Details

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch SpriteBatch
return void

Player() public method

public Player ( Control control, ITexture2DHolder carImage, System.Vector2 position, float startRotation ) : System
control Control
carImage ITexture2DHolder
position System.Vector2
startRotation float
return System

Update() public method

public Update ( ) : void
return void