Class GoToBallAndKick {Java} derived from: RobocupBehavior

Documentation
* The decision making, action performing part
* of the program. While running, first it looks for the ball.
* Then it moves to the ball. It then looks for the goal, and
* kicks the ball towards it.
*
* @author Paul A. Buhler
* @version $Revision: 1.1 $, $Date: 2000/09/08 18:17:55 $
*
* Copyright (C) 2000 Paul Buhler
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.


Parent PackagebiterAbstractNo
Export ControlImplementationAccessLink Class forNone
Class KindNormalClassCardinalityn
Space ConcurrencySequential
PersistenceNo  


Assigned ComponentsGoToBallAndKick


Operations
NameSignatureClass
GoToBallAndKick GoToBallAndKick (ActivityManager am, WorldModel wm)GoToBallAndKick
canHandleboolean canHandle (SensorInput s)GoToBallAndKick
handleboolean handle (SensorInput s)GoToBallAndKick
inhibitsboolean inhibits (Activity a)GoToBallAndKick
RobocupBehavior RobocupBehavior (ActivityManager am, WorldModel wm)RobocupBehavior
dashToPointvoid dashToPoint (double maxPower, Point2D.Double point)RobocupBehavior
kickBallToPointvoid kickBallToPoint (Point2D.Double point)RobocupBehavior
kickBallToPointvoid kickBallToPoint (Point2D.Double point, int steps)RobocupBehavior
distancedouble distance (Point2D.Double a, Point2D.Double b)RobocupBehavior
dribbleBallToPointvoid dribbleBallToPoint (double moveDistance, Point2D.Double finalPoint, double desiredDistanceToBall, double desiredAngleToBall)RobocupBehavior
isStraightKickPoint2D.Double isStraightKick (Point2D.Double point, double margin)RobocupBehavior
findInterceptPointPoint2D.Double findInterceptPoint (SelfInfo self, PlayerInfo player, BallInfo ball)RobocupBehavior
playersInRectint playersInRect (double left, double top, double right, double bottom, ArrayList dynamicInfo, boolean bOnlyTeamMembers, String teamName)RobocupBehavior
playersInConeint playersInCone (double r, double thetaMin, double thetaMax, ArrayList dynamicInfo, boolean bOnlyTeamMembers, String teamName)RobocupBehavior
movevoid move (double x, double y)RobocupBehavior
movevoid move (Point2D.Double p)RobocupBehavior
turnvoid turn (double moment)RobocupBehavior
dashvoid dash (double power)RobocupBehavior
kickvoid kick (double power, double direction)RobocupBehavior
sayvoid say (String message)RobocupBehavior
changeViewvoid changeView (String angle, String quality)RobocupBehavior
senseBodyvoid senseBody ()RobocupBehavior
catchBallvoid catchBall (int direction)RobocupBehavior
Behavior Behavior (ActivityManager am, WorldModel wm)Behavior
canHandleboolean canHandle (Input i)Behavior
canHandleboolean canHandle (SensorInput s)Behavior
canHandleboolean canHandle (Event e)Behavior
handleboolean handle (Input i)Behavior
handleboolean handle (SensorInput s)Behavior
handleboolean handle (Event e)Behavior
busyboolean busy ()Behavior
Activity Activity ()Activity
Activity Activity (ActivityManager am, WorldModel wm)Activity
canHandleboolean canHandle (Input i)Activity
handleboolean handle (Input i)Activity
busyboolean busy ()Activity
inhibitsboolean inhibits (Activity a)Activity


Attributes
NameClassTypeInitial Value
lastActionWasTurnRobocupBehaviorboolean 


Associations
NameMy RoleMy ClassOther RoleOther Element
--Not Named----Not Named--Activity--Not Named--ActivityManager


Generalization Relationships
NameClassSupplier
--Not Named--GoToBallAndKickRobocupBehavior
--Not Named--RobocupBehaviorBehavior
--Not Named--BehaviorActivity



Property Settings

Java
GenerateFinalizerFalseGenerateStaticInitializerFalse
GenerateInstanceInitializerFalseGenerateDefaultConstructorFalse
FinalFalseStaticFalse
ConstructorIspublicCtor_Setpublic, protected, private, package
GenerateCodeTrueDisableAutoSyncFalse


Data Modeler
dmItemFalseDMName 
IsTableFalseIsViewFalse
Synonymns TableSpace 
SourceId SourceType 
SelectClause IsUpdatableFalse
CheckOption0