C# 클래스 tetris.Tetronimo

파일 보기 프로젝트 열기: ttocs7/tetris 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
location Globals.coords

공개 메소드들

메소드 설명
GetDimensions ( ) : void
Tetronimo ( Tetronimo oldPiece ) : System
Tetronimo ( int type ) : System
getRotation ( rotType dir ) : ].int[
getShape ( int type ) : ].int[
setRotation ( rotType dir ) : ].int[

비공개 메소드들

메소드 설명
Tetronimo ( ) : System

메소드 상세

GetDimensions() 공개 메소드

public GetDimensions ( ) : void
리턴 void

Tetronimo() 공개 메소드

public Tetronimo ( Tetronimo oldPiece ) : System
oldPiece Tetronimo
리턴 System

Tetronimo() 공개 메소드

public Tetronimo ( int type ) : System
type int
리턴 System

getRotation() 공개 메소드

public getRotation ( rotType dir ) : ].int[
dir rotType
리턴 ].int[

getShape() 공개 정적인 메소드

public static getShape ( int type ) : ].int[
type int
리턴 ].int[

setRotation() 공개 메소드

public setRotation ( rotType dir ) : ].int[
dir rotType
리턴 ].int[

프로퍼티 상세

location 공개적으로 프로퍼티

public Globals.coords,tetris location
리턴 Globals.coords