C# 클래스 Sifteo.Cube

파일 보기 프로젝트 열기: alexmullans/Siftables-Emulator 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
dimension int
userData object

공개 메소드들

메소드 설명
FillRect ( System.Color color, int x, int y, int width, int height ) : void
FillScreen ( System.Color color ) : void
Image ( String name, int x, int y, int sourceX, int sourceY, int w = SCREEN_WIDTH, int h = SCREEN_HEIGHT, int scale = 1, int rotation ) : void
OnButtonPress ( ) : void
OnFlip ( ) : void
OnMove ( ) : void
OnRotateCCW ( ) : void
OnRotateCW ( ) : void
OnShakeStarted ( ) : void
OnShakeStopped ( int duration ) : void
OnTilt ( Side direction ) : void
Paint ( ) : void

메소드 상세

FillRect() 공개 메소드

public FillRect ( System.Color color, int x, int y, int width, int height ) : void
color System.Color
x int
y int
width int
height int
리턴 void

FillScreen() 공개 메소드

public FillScreen ( System.Color color ) : void
color System.Color
리턴 void

Image() 공개 메소드

public Image ( String name, int x, int y, int sourceX, int sourceY, int w = SCREEN_WIDTH, int h = SCREEN_HEIGHT, int scale = 1, int rotation ) : void
name String
x int
y int
sourceX int
sourceY int
w int
h int
scale int
rotation int
리턴 void

OnButtonPress() 공개 메소드

public OnButtonPress ( ) : void
리턴 void

OnFlip() 공개 메소드

public OnFlip ( ) : void
리턴 void

OnMove() 공개 메소드

public OnMove ( ) : void
리턴 void

OnRotateCCW() 공개 메소드

public OnRotateCCW ( ) : void
리턴 void

OnRotateCW() 공개 메소드

public OnRotateCW ( ) : void
리턴 void

OnShakeStarted() 공개 메소드

public OnShakeStarted ( ) : void
리턴 void

OnShakeStopped() 공개 메소드

public OnShakeStopped ( int duration ) : void
duration int
리턴 void

OnTilt() 공개 메소드

public OnTilt ( Side direction ) : void
direction Side
리턴 void

Paint() 공개 메소드

public Paint ( ) : void
리턴 void

프로퍼티 상세

dimension 공개적으로 정적으로 프로퍼티

public static int dimension
리턴 int

userData 공개적으로 프로퍼티

public object userData
리턴 object