Diese Klasse ist Superklasse fuer alle passiven Wünsche
Ausgabe auf dem Terminal
Objekte anlegen und zerstören
Diese Klasse ist Superklasse fuer alle passiven Wünsche.Quelltext
[Header | [Implementierung]
CVS Informationen zum Interface
************************************************** * * Aktueller Stand * * $RCSfile: PassiveOption.h,v $ * $Revision: 1.15 $ * $Date: 1998/08/14 13:21:05 $ * $Author: myritz $ * **************************************************
const int CANCEL_REASON_NEW_BALL_INFO
const int CANCEL_REASON_CONT_TIME_EXPIRED
virtual bool isPossible()
virtual bool forceContinuation()
PassiveOption()
virtual int baseUtility()
virtual int constraintCost( const Constraint *constraint )
void setCancelReasons( int reasons = ALL_CANCEL_REASONS )
void noCancelByReasons( int reasons )
int cancelReasons()
bool isCancelReasonActive( int aReason )
static const int NO_CONTINUATION
void setForceContinuationTime( int timeSteps )
int forceContinuationTime()
Vector closestNonOffsideTarget( const Vector& aTarget )
void setTarget( const Vector& aTarget )
const Vector& target()
void setIsTargetComputed( bool isTargetComputed )
bool isTargetComputed()
void setIsPlanCompleted( bool isPlanCompleted = YES )
bool isPlanCompleted()
Plan movementTo( const Vector& target, const double targetRadius = TRIANGULATION_ACCURACY, const double staminaLimit = 0, const int specialBehaviors = Skills::AVOID_OBSTACLES )
targetRadius - Zielradius für gotoRegion. Kann gebeamt werden, wird
genau auf die gewünschte Position gebeamt.
staminaLimit - fuer gotoRegion.
beamToPosition Plan isSomethingToSay()
bool isDangerousPos( const Vector& aPos )
bool isDefenseSituation()
virtual String toString()
mutable int theCancelReasons
mutable int theForceContinuationTime
mutable Vector theTarget
mutable bool theIsTargetComputed
mutable bool theIsPlanCompleted
Einleitung | Architektur | Dynamische Zusammenhänge | Referenzhandbuch | FAQ | Anhang A | Anhang B
generated by doc++