C# Class MiniGame.MiniGameControl

Interaktionslogik für MiniGameControl.xaml
显示文件 Open project: rechc/KinectMiniApps

Public Methods

Method 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

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

public FallHandler ( object sender, EventArgs ea ) : void
sender object
ea System.EventArgs
return void

MiniGameControl() public method

public MiniGameControl ( ) : System
return System

MinigameSkeletonEvent() public method

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

Start() public method

public Start ( Microsoft.Kinect.KinectSensor sensor ) : void
sensor Microsoft.Kinect.KinectSensor
return void

Stop() public method

public Stop ( ) : void
return void