C# Class RaceGame.Player

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

Méthodes publiques

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

Method Details

Draw() public méthode

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch SpriteBatch
Résultat void

Player() public méthode

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

Update() public méthode

public Update ( ) : void
Résultat void