C# 클래스 FootballSimulationApp.KeepawayTeam

상속: FootballSimulation.Team
파일 보기 프로젝트 열기: PurdueSIGAI/SoccerApp 1 사용 예제들

공개 메소드들

메소드 설명
DrawDebugInfo ( ISimulation simulation, Graphics g ) : void
Execute ( ISimulation simulation ) : Kick
KeepawayTeam ( ReadOnlyCollection players, RectangleF goalBounds ) : System.Collections.Generic

비공개 메소드들

메소드 설명
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

메소드 상세

DrawDebugInfo() 공개 메소드

public DrawDebugInfo ( ISimulation simulation, Graphics g ) : void
simulation ISimulation
g System.Drawing.Graphics
리턴 void

Execute() 공개 메소드

public Execute ( ISimulation simulation ) : Kick
simulation ISimulation
리턴 FootballSimulation.Kick

KeepawayTeam() 공개 메소드

public KeepawayTeam ( ReadOnlyCollection players, RectangleF goalBounds ) : System.Collections.Generic
players ReadOnlyCollection
goalBounds System.Drawing.RectangleF
리턴 System.Collections.Generic