C# Class Kinect.Pong.Models.Paddle

Inheritance: INotifyPropertyChanged
Mostrar archivo Open project: atosorigin/Kinect Class Usage Examples

Private Properties

Property Type Description
ComputerTracking void
DetermineBallToTrack Ball
DetermineMovement void
PositionPaddle void

Public Methods

Method Description
Move ( ) : void
OnPropertyChanged ( string propertyName ) : void
Paddle ( Side side, bool isComputerControlled, int kinectUserId ) : System.Collections.ObjectModel
SetDirection ( double speed ) : void

Private Methods

Method Description
ComputerTracking ( ) : void
DetermineBallToTrack ( ) : Ball
DetermineMovement ( Ball ballToTrack ) : void
PositionPaddle ( Side _side ) : void

Method Details

Move() public method

public Move ( ) : void
return void

OnPropertyChanged() public method

public OnPropertyChanged ( string propertyName ) : void
propertyName string
return void

Paddle() public method

public Paddle ( Side side, bool isComputerControlled, int kinectUserId ) : System.Collections.ObjectModel
side Side
isComputerControlled bool
kinectUserId int
return System.Collections.ObjectModel

SetDirection() public method

public SetDirection ( double speed ) : void
speed double
return void