C# Class Pong.Ball

Show file Open project: sq/Fracture Class Usage Examples

Public Properties

Property Type Description
Playfield Playfield
Position Vector2
Radius float
Velocity Vector2

Public Methods

Method Description
Update ( Paddle paddles ) : void

Method Details

Update() public method

public Update ( Paddle paddles ) : void
paddles Paddle
return void

Property Details

Playfield public property

public Playfield Playfield
return Playfield

Position public property

public Vector2 Position
return Vector2

Radius public property

public float Radius
return float

Velocity public property

public Vector2 Velocity
return Vector2