C# Class Sifteo.Cube

Afficher le fichier Open project: alexmullans/Siftables-Emulator Class Usage Examples

Méthodes publiques

Свойство Type Description
dimension int
userData object

Méthodes publiques

Méthode 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 méthode

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
Résultat void

FillScreen() public méthode

public FillScreen ( System.Color color ) : void
color System.Color
Résultat void

Image() public méthode

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
Résultat void

OnButtonPress() public méthode

public OnButtonPress ( ) : void
Résultat void

OnFlip() public méthode

public OnFlip ( ) : void
Résultat void

OnMove() public méthode

public OnMove ( ) : void
Résultat void

OnRotateCCW() public méthode

public OnRotateCCW ( ) : void
Résultat void

OnRotateCW() public méthode

public OnRotateCW ( ) : void
Résultat void

OnShakeStarted() public méthode

public OnShakeStarted ( ) : void
Résultat void

OnShakeStopped() public méthode

public OnShakeStopped ( int duration ) : void
duration int
Résultat void

OnTilt() public méthode

public OnTilt ( Side direction ) : void
direction Side
Résultat void

Paint() public méthode

public Paint ( ) : void
Résultat void

Property Details

dimension public_oe static_oe property

public static int dimension
Résultat int

userData public_oe property

public object userData
Résultat object