C# Class SpaceShip.Logic.Player

Inheritance: GameObject
Afficher le fichier Open project: pmyoung/Advanced-Game-Project

Méthodes publiques

Свойство Type Description
id int
name string

Méthodes publiques

Méthode Description
Player ( int id, string name, int spriteId ) : System
accelerate ( ) : void
brake ( ) : void
fire ( ) : void
rotateLeft ( ) : void
rotateRight ( ) : void

Method Details

Player() public méthode

public Player ( int id, string name, int spriteId ) : System
id int
name string
spriteId int
Résultat System

accelerate() public méthode

public accelerate ( ) : void
Résultat void

brake() public méthode

public brake ( ) : void
Résultat void

fire() public méthode

public fire ( ) : void
Résultat void

rotateLeft() public méthode

public rotateLeft ( ) : void
Résultat void

rotateRight() public méthode

public rotateRight ( ) : void
Résultat void

Property Details

id public_oe property

public int id
Résultat int

name public_oe property

public string name
Résultat string