C# Class Kinect.Pong.Models.Ball

Inheritance: INotifyPropertyChanged
Mostra file Open project: atosorigin/Kinect Class Usage Examples

Private Properties

Property Type Description
DetermineBallCollision void
DetermineBallDirection void
DeterminePaddleCollision void
DetermineScore void
OnPropertyChanged void

Public Methods

Method Description
Ball ( int radius, double angle, double speed ) : System
Move ( ) : void

Protected Methods

Method Description
OnScored ( Paddle _side, Ball ball ) : void

Private Methods

Method Description
DetermineBallCollision ( ) : void
DetermineBallDirection ( ) : void
DeterminePaddleCollision ( ) : void
DetermineScore ( ) : void
OnPropertyChanged ( string propertyName ) : void

Method Details

Ball() public method

public Ball ( int radius, double angle, double speed ) : System
radius int
angle double
speed double
return System

Move() public method

public Move ( ) : void
return void

OnScored() protected method

protected OnScored ( Paddle _side, Ball ball ) : void
_side Paddle
ball Ball
return void