C# Class Sifteo.Cube

ファイルを表示 Open project: alexmullans/Siftables-Emulator Class Usage Examples

Public Properties

Property Type Description
dimension int
userData object

Public Methods

Method Description
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

Method Details

FillRect() public method

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
return void

FillScreen() public method

public FillScreen ( System.Color color ) : void
color System.Color
return void

Image() public method

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
return void

OnButtonPress() public method

public OnButtonPress ( ) : void
return void

OnFlip() public method

public OnFlip ( ) : void
return void

OnMove() public method

public OnMove ( ) : void
return void

OnRotateCCW() public method

public OnRotateCCW ( ) : void
return void

OnRotateCW() public method

public OnRotateCW ( ) : void
return void

OnShakeStarted() public method

public OnShakeStarted ( ) : void
return void

OnShakeStopped() public method

public OnShakeStopped ( int duration ) : void
duration int
return void

OnTilt() public method

public OnTilt ( Side direction ) : void
direction Side
return void

Paint() public method

public Paint ( ) : void
return void

Property Details

dimension public_oe static_oe property

public static int dimension
return int

userData public_oe property

public object userData
return object