Class PlayerInfo {Java} derived from: DynamicObjectInfo

Documentation
* Used to store the visible information
* on the other players.
* @author Paul A. Buhler
* @version $Revision: 1.9 $, $Date: 2001/02/27 22:24:31 $


Parent PackagebiterAbstractNo
Export ControlPublicAccessLink Class forNone
Class KindNormalClassCardinalityn
Space ConcurrencySequential
PersistenceNo  


Assigned ComponentsPlayerInfo


Operations
NameSignatureClass
PlayerInfo PlayerInfo (String team, int uniformNumber, int timeStamp)PlayerInfo
PlayerInfo PlayerInfo (ObjectInfo object)PlayerInfo
getTeamString getTeam ()PlayerInfo
getUniformNumberint getUniformNumber ()PlayerInfo
setTeamvoid setTeam (String team)PlayerInfo
setUniformNumbervoid setUniformNumber (int uniformNumber)PlayerInfo
equalsboolean equals (PlayerInfo p)PlayerInfo
DynamicObjectInfo DynamicObjectInfo (String objName, int timeStamp)DynamicObjectInfo
DynamicObjectInfo DynamicObjectInfo (ObjectInfo object)DynamicObjectInfo
getAbsoluteFieldPositionPoint2D.Double getAbsoluteFieldPosition ()DynamicObjectInfo
getPositionAbsoluteMathVector getPosition ()DynamicObjectInfo
getPredictedFieldPositionPoint2D.Double getPredictedFieldPosition ()DynamicObjectInfo
setAbsoluteFieldPositionvoid setAbsoluteFieldPosition (Point2D.Double point)DynamicObjectInfo
setNextPositionvoid setNextPosition (DynamicObjectInfo next)DynamicObjectInfo
setLocationOnlyvoid setLocationOnly (Point2D.Double point)DynamicObjectInfo
setVectorvoid setVector (double magnitude, double angle)DynamicObjectInfo
setPredictedFieldPositionvoid setPredictedFieldPosition (Point2D.Double point)DynamicObjectInfo
resetDistDirvoid resetDistDir (AbsoluteMathVector playerPosition)DynamicObjectInfo
moveToNextPositionvoid moveToNextPosition (double decay)DynamicObjectInfo
moveToNextPositionvoid moveToNextPosition ()DynamicObjectInfo
toMessageString toMessage ()DynamicObjectInfo
toStringString toString ()DynamicObjectInfo
setVectorvoid setVector (DynamicObjectInfo oldInfo)DynamicObjectInfo
doTurnvoid doTurn (double deltaAngle)DynamicObjectInfo
ObjectInfo ObjectInfo ()ObjectInfo
ObjectInfo ObjectInfo (String objectName, long timeStamp)ObjectInfo
ObjectInfo ObjectInfo (String objectName, long timeStamp, double distance, double direction, double distChng, double dirChng)ObjectInfo
isGotChangesboolean isGotChanges ()ObjectInfo
setGotChangesvoid setGotChanges (boolean v)ObjectInfo
getObjectNameString getObjectName ()ObjectInfo
getDistancedouble getDistance ()ObjectInfo
getDirectiondouble getDirection ()ObjectInfo
getDistChngdouble getDistChng ()ObjectInfo
getDirChngdouble getDirChng ()ObjectInfo
getBodyDirdouble getBodyDir ()ObjectInfo
getHeadDirdouble getHeadDir ()ObjectInfo
setObjectNamevoid setObjectName (String objectName)ObjectInfo
setDistancevoid setDistance (double distance)ObjectInfo
setDirectionvoid setDirection (double direction)ObjectInfo
addToDirectionvoid addToDirection (double deltaAngle)ObjectInfo
setDistChngvoid setDistChng (double distChng)ObjectInfo
setDirChngvoid setDirChng (double dirChng)ObjectInfo
setBodyDirvoid setBodyDir (double bodyDir)ObjectInfo
setHeadDirvoid setHeadDir (double headDir)ObjectInfo
compareToint compareTo (Object object)ObjectInfo
toStringString toString ()ObjectInfo
SensorInput SensorInput ()SensorInput
SensorInput SensorInput (long timeStamp)SensorInput
toStringString toString ()SensorInput
Input Input ()Input
Input Input (long timeStamp)Input
getRealTimelong getRealTime ()Input
getTimeStamplong getTimeStamp ()Input
setTimeStampvoid setTimeStamp (long timeStamp)Input
toStringString toString ()Input


Attributes
NameClassTypeInitial Value
uniformNumberPlayerInfoint- 1
distanceObjectInfodouble 
directionObjectInfodouble 
distChngObjectInfodouble 
dirChngObjectInfodouble 
bodyDirObjectInfodouble 
headDirObjectInfodouble 
gotChangesObjectInfoboolean 
timeStampInputlong 
realTimeInputlong 


Associations
NameMy RoleMy ClassOther RoleOther Element
--Not Named----Not Named--PlayerInfoteamString
--Not Named----Not Named--DynamicObjectInfopositionAbsoluteMathVector
--Not Named----Not Named--DynamicObjectInfo--Not Named--WorldModel
--Not Named----Not Named--ObjectInfoobjectNameString


Generalization Relationships
NameClassSupplier
--Not Named--PlayerInfoDynamicObjectInfo
--Not Named--DynamicObjectInfoObjectInfo
--Not Named--ObjectInfoSensorInput
--Not Named--SensorInputInput


Realize Relationships
NameClassSupplier
--Not Named--ObjectInfoComparable



Property Settings

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


Data Modeler
dmItemFalseDMName 
IsTableFalseIsViewFalse
Synonymns TableSpace 
SourceId SourceType 
SelectClause IsUpdatableFalse
CheckOption0