Property | Type | Description | |
---|---|---|---|
bottomRacketX | float | ||
height | int | ||
isBottomRacketValid | bool | ||
isTopRacketValid | bool | ||
texture | |||
topRacketX | float | ||
wallWidth | int | ||
width | int |
Method | Description | |
---|---|---|
AddBall ( Vector2 pos, Vector2 vel, float speed = 1 ) : void | ||
AddBall ( float rankSpeed = 1 ) : void | ||
AddScore ( ) : void | ||
GetAnother ( int offset = 1 ) : Pongpector, | ||
Miss ( ) : void | ||
Start ( ) : void | ||
TestRacketCollision ( Vector2 pos, Vector2 vel, float radius ) : bool | ||
UpdateFrame ( ) : void |
public AddBall ( Vector2 pos, Vector2 vel, float speed = 1 ) : void | ||
pos | Vector2 | |
vel | Vector2 | |
speed | float | |
return | void |
public GetAnother ( int offset = 1 ) : Pongpector, | ||
offset | int | |
return | Pongpector, |
public TestRacketCollision ( Vector2 pos, Vector2 vel, float radius ) : bool | ||
pos | Vector2 | |
vel | Vector2 | |
radius | float | |
return | bool |