C# Class MiniGame.MiniGameControl

Interaktionslogik für MiniGameControl.xaml
Afficher le fichier Open project: rechc/KinectMiniApps

Méthodes publiques

Méthode Description
FallHandler ( object sender, EventArgs ea ) : void
MiniGameControl ( ) : System
MinigameSkeletonEvent ( Microsoft.Kinect.Skeleton activeSkeleton, DepthImagePixel depthImagePixels, byte colorPixels ) : void
Start ( Microsoft.Kinect.KinectSensor sensor ) : void
Stop ( ) : void

Private Methods

Méthode Description
AddObjectsToGrid ( ) : void
AddPlayer ( ) : void
CheckGameOver ( ) : void
CreateNewObject ( int column ) : int
GameStart ( int mode ) : void
GameStop ( ) : void
PlayerHandler ( ) : void
RemoveAllObjects ( ) : void
RemovePlayer ( ) : void
RenderGreenScreen ( ) : void
SetBackgroundImage ( ) : void
ShiftObjects ( bool withShift ) : void

Method Details

FallHandler() public méthode

public FallHandler ( object sender, EventArgs ea ) : void
sender object
ea System.EventArgs
Résultat void

MiniGameControl() public méthode

public MiniGameControl ( ) : System
Résultat System

MinigameSkeletonEvent() public méthode

public MinigameSkeletonEvent ( Microsoft.Kinect.Skeleton activeSkeleton, DepthImagePixel depthImagePixels, byte colorPixels ) : void
activeSkeleton Microsoft.Kinect.Skeleton
depthImagePixels DepthImagePixel
colorPixels byte
Résultat void

Start() public méthode

public Start ( Microsoft.Kinect.KinectSensor sensor ) : void
sensor Microsoft.Kinect.KinectSensor
Résultat void

Stop() public méthode

public Stop ( ) : void
Résultat void