CRaPI - Correct Robust and Perfect API

TeamYaffa.CRaPI.World Namespace

Classes

ClassDescription
FieldPlayerEventArgs Event arguments FieldPlayers
FlagsEventArgs Event arguments for Flags
IntersectionsEventArgs Event arguments for Intersections
PlayerRepository This class acts as a repository for FieldPlayers, known, unknown and assumed
PositionEventArgs Event arguments Positions
WorldModel This class represents the WorldModel of a player. The world model is the players (agents) perception of the state of the play field. E.g. the players position, the position of the team mates, opponents and the ball etc.

Structures

StructureDescription
Flag This is a representation of the flags that is sent from the server in the see message.
Intersection A point where the imagined circles of two flag-distances intersect.

Delegates

DelegateDescription
FlagsEventHandlerHandling event fired when Flags have been parsed
IntersectionsEventHandlerHandling event fired when Intersections have been calculated
OpponentsEventHandlerHandling event fired when opponents have been updated
PlayerCalculatedEventHandlerHandling event fired Player has been updated
PositionEventHandlerHandling event fired when player position has been calculated
PositionUnknownEventHandlerHandling event fired when position of one self is unknown
TeamMatesEventHandlerHandling event fired when team mates have been updated