double cloudsPerSecond
double positionScatterRadius
double speedScatterRadius
java.util.Random random
javax.swing.JToggleButton toggleButtonBotName
javax.swing.JProgressBar progressBarCalcTime
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
Needed to set the backward reference in SimulationState.
java.io.IOException
java.lang.ClassNotFoundException
java.util.ArrayList<E> states
java.util.TreeMap<K,V> explosions
java.util.TreeMap<K,V> wasteDump
Panzers
go there when they are wrecked. Pilot
s stay in their metallic
mausoleums. They may no longer take actions
. They are
dead. java.util.TreeMap<K,V> graveyard
Pilot
dies of exception or dilatoriness, it is
disgorged from its Panzer
and left behind. Without its
body, a Pilot
is unable to take actions
.
It's dead. Pilot
is spawned into the
not yet destroyed Panzer
.java.util.ArrayList<E> turrets
java.util.TreeMap<K,V> scanfans
java.util.TreeMap<K,V> sonarTraces
java.util.TreeMap<K,V> smokeParticles
java.util.TreeMap<K,V> explosionParticles
double timestamp
java.util.List<E> panzers
java.util.List<E> projectiles
java.util.List<E> droppables
SimulationModeState simulationModeState
Note: The user may change the scenario at any time - discard the old state in this case.
java.util.Map<K,V> raceProgress
Body
found
SimulationMode should be stateless to the timeline slider.
int memoryConsumption
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, java.lang.ClassNotFoundException
java.io.IOException
java.lang.ClassNotFoundException
int ID
Vector pos
Angle orientation
Vector velocityLinear
Angle velocityAngular
double health
double energy
Vector posOfBestBot
int boostingFrames
Scan lastScan
SonarTrace lastSonarTrace
ProximityScan proximityScanLaunchable
Vector proximityScanDroppable
double timeOfLauncherReloaded
double timeOfDropperReloaded
int turretIndex
AbstractPilot pilot
TerrainType currentTerrain
Body.pos
boolean isMovingInWrongDirection
java.util.ArrayList<E> missileLink
Directable
devices, the
Panzer
holds these references.
Note: The references are single-sided and may be null.
java.util.List<E> tractors
Vector grip
float mileage
double time
double health
double energy
Vector position
Angle orientation
Vector velocity
Vector posOfBestBot
TerrainType currentTerrain
boolean isMovingInWrongDirection
Scan lastScan
SonarTrace lastSonarTrace
ProximityScan proximityScanLaunchable
Vector proximityScanDroppable
Vector[] directablePositions
double timeOfLauncherReloaded
double timeOfDropperReloaded
double timeOfScannerReloaded
Angle scanAperture
Angle scanDirection
double sonarEnergy
Angle cannonCommand
double cannonRange
Pilot.LauncherAmmunition launcherAmmunition
Vector[] directableDestinations
These are both updated (for information) and forwarded (as command) at each frame.
Angle[] directableTargetBearings
These are both updated (for information) and forwarded (as command) at each frame.
Pilot.DropperCommand mineCommand
Angle desiredDirection
double desiredSpeed
boolean boosting
java.lang.String debugText
java.awt.Color nameColor
java.awt.Color turretColor
java.awt.Color bodyColor
java.lang.String formerName
float health
BodyFactory bodyFactory
Angle steering
double x
double y
double startAngle
double endAngle
double range
double timeOfCreation
int ownerID
java.awt.Color bodyColor
Vector pos
double age
As descendant: DO NOT MODIFY!
double maxAge
boolean isArmed
SmokeGenerator smokeGenerator
SmokeGenerator smokeGenerator
double lifeTime
SmokeGenerator smokeGenerator
boolean isDetonating
Vector lockOnPos
SmokeGenerator smokeGenerator
boolean isDetonating
Vector lockOnPos
SmokeGenerator smokeGenerator
SmokeGenerator smokeGenerator
boolean isDetonating
Angle targetBearing
double angle
Angle scanDirection
Angle scanAperture
double distanceToTarget
If no target was found inside the scanned cone the distance is 0.
Note: The distance to target may be outdated at a later time.
If you need the distance to the given direction use
getPosition().distanceTo(estimatedTargetPosition())
Vector scannerPosition
double timeOfScan
double timestamp
Vector location
double standardDeviation
double x
double y