C# Class tetris.Tetronimo

Datei anzeigen Open project: ttocs7/tetris Class Usage Examples

Public Properties

Property Type Description
location Globals.coords

Public Methods

Method Description
GetDimensions ( ) : void
Tetronimo ( Tetronimo oldPiece ) : System
Tetronimo ( int type ) : System
getRotation ( rotType dir ) : ].int[
getShape ( int type ) : ].int[
setRotation ( rotType dir ) : ].int[

Private Methods

Method Description
Tetronimo ( ) : System

Method Details

GetDimensions() public method

public GetDimensions ( ) : void
return void

Tetronimo() public method

public Tetronimo ( Tetronimo oldPiece ) : System
oldPiece Tetronimo
return System

Tetronimo() public method

public Tetronimo ( int type ) : System
type int
return System

getRotation() public method

public getRotation ( rotType dir ) : ].int[
dir rotType
return ].int[

getShape() public static method

public static getShape ( int type ) : ].int[
type int
return ].int[

setRotation() public method

public setRotation ( rotType dir ) : ].int[
dir rotType
return ].int[

Property Details

location public_oe property

public Globals.coords,tetris location
return Globals.coords