C# Class FootballSimulationApp.KeepawayTeam

Inheritance: FootballSimulation.Team
Afficher le fichier Open project: PurdueSIGAI/SoccerApp Class Usage Examples

Méthodes publiques

Méthode Description
DrawDebugInfo ( ISimulation simulation, Graphics g ) : void
Execute ( ISimulation simulation ) : Kick
KeepawayTeam ( ReadOnlyCollection players, RectangleF goalBounds ) : System.Collections.Generic

Private Methods

Méthode Description
ClosestPlayerToPoint ( IEnumerable players, IPointMass target, float max, System.Numerics.Vector2 goalMiddle ) : IPointMass
DistanceBetween ( System.Numerics.Vector2 a, System.Numerics.Vector2 b ) : float
isOutsideOfField ( PointMass player, RectangleF field ) : bool

Method Details

DrawDebugInfo() public méthode

public DrawDebugInfo ( ISimulation simulation, Graphics g ) : void
simulation ISimulation
g System.Drawing.Graphics
Résultat void

Execute() public méthode

public Execute ( ISimulation simulation ) : Kick
simulation ISimulation
Résultat FootballSimulation.Kick

KeepawayTeam() public méthode

public KeepawayTeam ( ReadOnlyCollection players, RectangleF goalBounds ) : System.Collections.Generic
players ReadOnlyCollection
goalBounds System.Drawing.RectangleF
Résultat System.Collections.Generic