com.azalient.api.sim.agents
Interface IAttached

All Superinterfaces:
IAgent, IBlocker, IChangingDrawable, IDrawable, ILoopOccupier, IObstacle, IRecord, IUserData, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW

public interface IAttached
extends IAgent

An attached agent implements this interface - a vehicle trailer, a companion person in a person group, or baggage pulled or pushed by a person


Field Summary
 
Fields inherited from interface com.azalient.api.sim.agents.IObstacle
ZERO_OBSTACLES
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 void moveAttached(double now, double interval)
          [Internal] This is called when the attached agent is moved
 IAgent primeMover()
          Returns a reference to the "prime mover" agent - the one that is controlling this group of agents
 
Methods inherited from interface com.azalient.api.sim.agents.IAgent
acceleration, age, age, agentVision, arrived, attached, basePolygon, behaviour, blockedBy, blocker, centre, creationTime, emissionGrams, exclude, finished, followingAlgorithm, forward, freeMovingAlgorithm, frozen, gradient, halfLength, halfLengthHead, halfLengthTail, halfWidth, halted, halted, head, headDistance, headGroup, height, include, isAttached, keepSide, keepSide, leader, length, maxAcceleration, maxDeceleration, maxSpeedMPS, minimumGap, next, nextPathway, nextPathwayForward, pathPosition, pathway, pathwayFarthest, pathwayForward, perceivedHalfLengthHead, perceivedHalfWidth, reactionTime, reselectExit, selected, selected, specialMaxSpeed, speedMPS, steerFunction, steerToPathNow, stoppingDistance, tail, tailDistance, tailGroup, targetSpeedMPS, timeOnPathway, totalDistanceTravelled, totalTravelDistanceMetres, totalTravelStopsCount, totalTravelTimeSeconds, trackingMe, trip, tripDetailRecord, twig, type, unblock, uniqueID, velocity, weightKG, width, zombie
 
Methods inherited from interface com.azalient.api.sim.detection.ILoopOccupier
loops
 
Methods inherited from interface com.azalient.api.sim.agents.IObstacle
annotationPoint
 
Methods inherited from interface com.azalient.api.a.IUserData
userData, userData, userDataHashCode
 
Methods inherited from interface com.azalient.api.file.StoreRecordRW
canRename, rename, store
 
Methods inherited from interface com.azalient.api.file.RecordR
extraSet, finished, isApplicable, isEditable, set
 
Methods inherited from interface com.azalient.api.a.tables.IRecord
name
 
Methods inherited from interface com.azalient.api.file.RecordW
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile
 
Methods inherited from interface com.azalient.api.sim.agents.IBlocker
blocked, blockerDescription, blockPointDistance, doneBlocking, nowBlocking
 
Methods inherited from interface com.azalient.api.draw.IChangingDrawable
drawChangeables
 
Methods inherited from interface com.azalient.api.draw.IDrawable
canExplode, centroid, destroy, draw, isTransparent, name, remove, removed
 

Method Detail

moveAttached

void moveAttached(double now,
                  double interval)
[Internal] This is called when the attached agent is moved

Internal - Not recommended for use. Public as a side-effect of implementation method

primeMover

IAgent primeMover()
Returns a reference to the "prime mover" agent - the one that is controlling this group of agents