C# Class FootballSimulation.Kick

Mostrar archivo Open project: PurdueSIGAI/Soccer Class Usage Examples

Public Properties

Property Type Description
None Kick

Public Methods

Method Description
Kick ( IPointMass player, Vector2 force ) : System

Creates a new instance of the Kick class with the specified player and force.

Method Details

Kick() public method

Creates a new instance of the Kick class with the specified player and force.
public Kick ( IPointMass player, Vector2 force ) : System
player IPointMass The player to kick the ball.
force Vector2 The desired force on the ball to be exerted by the player.
return System

Property Details

None public_oe static_oe property

Indicates that no player on the team kicked the ball.
public static Kick,FootballSimulation None
return Kick