Property | Type | Description | |
---|---|---|---|
AccelerateState | bool | ||
XVelocity | float | ||
YVelocity | float |
Method | Description | |
---|---|---|
BallEntity ( ) : System | ||
BallEntity ( CocosSharp.CCLayer gameLayer ) : System | ||
HandleCollisionWithPaddle ( bool isCorner ) : void | ||
HandleCollisionWithPaddle ( bool isCorner, float VelocityAngle ) : void | ||
PerformActivity ( float seconds ) : void | ||
ReactToLevelCollision ( ) : void | ||
isCollideWithRotatedPaddle ( |
Method | Description | |
---|---|---|
calculateSpeedUpdatePosition ( float seconds ) : void |
public BallEntity ( CocosSharp.CCLayer gameLayer ) : System | ||
gameLayer | CocosSharp.CCLayer | |
return | System |
public HandleCollisionWithPaddle ( bool isCorner ) : void | ||
isCorner | bool | |
return | void |
public HandleCollisionWithPaddle ( bool isCorner, float VelocityAngle ) : void | ||
isCorner | bool | |
VelocityAngle | float | |
return | void |
public PerformActivity ( float seconds ) : void | ||
seconds | float | |
return | void |
public isCollideWithRotatedPaddle ( |
||
mPaddle | ||
angle | float | |
return | bool |