C# Class SpaceShip.Logic.Player

Inheritance: GameObject
Show file Open project: pmyoung/Advanced-Game-Project

Public Properties

Property Type Description
id int
name string

Public Methods

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

Method Details

Player() public method

public Player ( int id, string name, int spriteId ) : System
id int
name string
spriteId int
return System

accelerate() public method

public accelerate ( ) : void
return void

brake() public method

public brake ( ) : void
return void

fire() public method

public fire ( ) : void
return void

rotateLeft() public method

public rotateLeft ( ) : void
return void

rotateRight() public method

public rotateRight ( ) : void
return void

Property Details

id public property

public int id
return int

name public property

public string name
return string