Property | Type | Description | |
---|---|---|---|
dx | double | ||
dy | double | ||
r | float | ||
x | double | ||
y | double |
Method | Description | |
---|---|---|
Ball ( System.Windows.Media.Brush color, float r, double fieldWidth, double fieldHeight ) : System | ||
DetectCollision ( |
||
Draw ( System.Windows.Media.DrawingContext dc ) : void | ||
HitLeft ( ) : bool | ||
HitRight ( ) : bool | ||
Move ( ) : void | ||
Spawn ( ) : void |
Method | Description | |
---|---|---|
plusOrMinus ( ) : double |
public Ball ( System.Windows.Media.Brush color, float r, double fieldWidth, double fieldHeight ) : System | ||
color | System.Windows.Media.Brush | |
r | float | |
fieldWidth | double | |
fieldHeight | double | |
return | System |
public DetectCollision ( |
||
pLeft | ||
pRight | ||
return | void |
public Draw ( System.Windows.Media.DrawingContext dc ) : void | ||
dc | System.Windows.Media.DrawingContext | |
return | void |