Свойство | Type | Description | |
---|---|---|---|
AccelerateState | bool | ||
XVelocity | float | ||
YVelocity | float |
Méthode | 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 ( |
Méthode | Description | |
---|---|---|
calculateSpeedUpdatePosition ( float seconds ) : void |
public BallEntity ( CocosSharp.CCLayer gameLayer ) : System | ||
gameLayer | CocosSharp.CCLayer | |
Résultat | System |
public HandleCollisionWithPaddle ( bool isCorner ) : void | ||
isCorner | bool | |
Résultat | void |
public HandleCollisionWithPaddle ( bool isCorner, float VelocityAngle ) : void | ||
isCorner | bool | |
VelocityAngle | float | |
Résultat | void |
public PerformActivity ( float seconds ) : void | ||
seconds | float | |
Résultat | void |
public isCollideWithRotatedPaddle ( |
||
mPaddle | ||
angle | float | |
Résultat | bool |