Serialized Form


Package robocode

Class robocode.BattleEndedEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

aborted

boolean aborted

results

BattleResults results

Class robocode.BattleResults extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

teamLeaderName

String teamLeaderName

rank

int rank

score

double score

survival

double survival

lastSurvivorBonus

double lastSurvivorBonus

bulletDamage

double bulletDamage

bulletDamageBonus

double bulletDamageBonus

ramDamage

double ramDamage

ramDamageBonus

double ramDamageBonus

firsts

int firsts

seconds

int seconds

thirds

int thirds

Class robocode.BattleRules extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

battlefieldWidth

int battlefieldWidth

battlefieldHeight

int battlefieldHeight

numRounds

int numRounds

gunCoolingRate

double gunCoolingRate

inactivityTime

long inactivityTime

hideEnemyNames

boolean hideEnemyNames

sentryBorderSize

int sentryBorderSize

Class robocode.Bullet extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

headingRadians

double headingRadians

x

double x

y

double y

power

double power

ownerName

String ownerName

victimName

String victimName

isActive

boolean isActive

bulletId

int bulletId

Class robocode.BulletHitBulletEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

bullet

Bullet bullet

hitBullet

Bullet hitBullet

Class robocode.BulletHitEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name

energy

double energy

bullet

Bullet bullet

Class robocode.BulletMissedEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

bullet

Bullet bullet

Class robocode.CustomEvent extends Event implements Serializable

serialVersionUID: 1L

Class robocode.DeathEvent extends Event implements Serializable

serialVersionUID: 1L

Class robocode.Event extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

time

long time

priority

int priority

Class robocode.HitByBulletEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

bearing

double bearing

bullet

Bullet bullet

Class robocode.HitByMineEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

mine

Mine mine

Class robocode.HitRobotEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

robotName

String robotName

bearing

double bearing

energy

double energy

atFault

boolean atFault

Class robocode.HitWallEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

bearing

double bearing

Class robocode.KeyEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

source

KeyEvent source

Class robocode.KeyPressedEvent extends KeyEvent implements Serializable

serialVersionUID: 1L

Class robocode.KeyReleasedEvent extends KeyEvent implements Serializable

serialVersionUID: 1L

Class robocode.KeyTypedEvent extends KeyEvent implements Serializable

serialVersionUID: 1L

Class robocode.MessageEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

sender

String sender

message

Serializable message

Class robocode.Mine extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

x

double x

y

double y

power

double power

ownerName

String ownerName

victimName

String victimName

isActive

boolean isActive

mineId

int mineId

Class robocode.MineHitEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name

energy

double energy

mine

Mine mine

Class robocode.MineHitMineEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

mine

Mine mine

hitMine

Mine hitMine

Class robocode.MouseClickedEvent extends MouseEvent implements Serializable

serialVersionUID: 1L

Class robocode.MouseDraggedEvent extends MouseEvent implements Serializable

serialVersionUID: 1L

Class robocode.MouseEnteredEvent extends MouseEvent implements Serializable

serialVersionUID: 1L

Class robocode.MouseEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

source

MouseEvent source

Class robocode.MouseExitedEvent extends MouseEvent implements Serializable

serialVersionUID: 1L

Class robocode.MouseMovedEvent extends MouseEvent implements Serializable

serialVersionUID: 1L

Class robocode.MousePressedEvent extends MouseEvent implements Serializable

serialVersionUID: 1L

Class robocode.MouseReleasedEvent extends MouseEvent implements Serializable

serialVersionUID: 1L

Class robocode.MouseWheelMovedEvent extends MouseEvent implements Serializable

serialVersionUID: 1L

Class robocode.NavalBattleResults extends BattleResults implements Serializable

serialVersionUID: 4562531939960517227L

Serialized Fields

mineDamage

double mineDamage

mineDamageBonus

double mineDamageBonus

Class robocode.PaintEvent extends Event implements Serializable

serialVersionUID: 1L

Class robocode.RobotDeathEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

robotName

String robotName

Class robocode.RobotStatus extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

energy

double energy

x

double x

y

double y

bodyHeading

double bodyHeading

gunHeading

double gunHeading

radarHeading

double radarHeading

velocity

double velocity

bodyTurnRemaining

double bodyTurnRemaining

radarTurnRemaining

double radarTurnRemaining

gunTurnRemaining

double gunTurnRemaining

distanceRemaining

double distanceRemaining

gunHeat

double gunHeat

others

int others

numSentries

int numSentries

roundNum

int roundNum

numRounds

int numRounds

time

long time

Class robocode.RoundEndedEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

round

int round

turns

int turns

totalTurns

int totalTurns

Class robocode.ScannedProjectileEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

energy

double energy
Deprecated. 
The energy with which the projectile has been fired.


velocity

double velocity
Deprecated. 
The velocity of the projectile.


distance

double distance
Deprecated. 
The distance from the projectile.


bearingFront

double bearingFront
Deprecated. 
The bearing from the front canon to the projectile.


bearingBack

double bearingBack
Deprecated. 
The bearing from the back canon to the projectile.

Class robocode.ScannedRobotEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name

energy

double energy

heading

double heading

bearing

double bearing

distance

double distance

velocity

double velocity

isSentryRobot

boolean isSentryRobot

Class robocode.ScannedShipEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

name

String name

energy

double energy

heading

double heading

distance

double distance

velocity

double velocity

bearingFront

double bearingFront

bearingBack

double bearingBack

bearingRadar

double bearingRadar

Class robocode.ShipStatus extends RobotStatus implements Serializable

serialVersionUID: 369382459772925986L

Serialized Fields

components

ComponentManager components

Class robocode.SkippedTurnEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

skippedTurn

long skippedTurn

Class robocode.StatusEvent extends Event implements Serializable

serialVersionUID: 1L

Serialized Fields

status

RobotStatus status

Class robocode.WinEvent extends Event implements Serializable

serialVersionUID: 1L


Package robocode.control

Class robocode.control.BattlefieldSpecification extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

width

int width

height

int height

Class robocode.control.BattleSpecification extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

battlefieldWidth

int battlefieldWidth

battlefieldHeight

int battlefieldHeight

numRounds

int numRounds

gunCoolingRate

double gunCoolingRate

inactivityTime

long inactivityTime

hideEnemyNames

boolean hideEnemyNames

sentryBorderSize

int sentryBorderSize

robots

RobotSpecification[] robots

initialSetups

RobotSetup[] initialSetups

Class robocode.control.RobotResults extends BattleResults implements Serializable

serialVersionUID: 2L

Serialized Fields

robot

RobotSpecification robot

Class robocode.control.RobotSetup extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

x

Double x

y

Double y

heading

Double heading

Class robocode.control.RobotSpecification extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

fileSpecification

Object fileSpecification

name

String name

author

String author

webpage

String webpage

version

String version

robocodeVersion

String robocodeVersion

jarFile

String jarFile

fullClassName

String fullClassName

description

String description

teamId

String teamId

Class robocode.control.ShipResults extends NavalBattleResults implements Serializable

serialVersionUID: 2L

Serialized Fields

ship

RobotSpecification ship

Package robocode.naval

Class robocode.naval.BlindSpot extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

start

double start
The start and end angle of the blind arch. These angles are absolute angles!


end

double end
The start and end angle of the blind arch. These angles are absolute angles!


half

double half
This is half the angle, in radians, of the blind arch.

See Also:
WeaponComponent.BLIND_SPOT_ANGLE, WeaponComponent.HALF_BLIND_SPOT_ANGLE

crossZero

boolean crossZero

Class robocode.naval.ComponentBase extends Object implements Serializable

serialVersionUID: 1L

Serialized Fields

pivot

Point2D pivot
The relative point, based on the ship's origin, that the component is attached to.


color

Color color
The color that the component should be rendered with.


angle

double angle
The angle, in radians, of the component.


type

ComponentType type
The type of this component. Default: Undefined


lastHeading

double lastHeading
Keeping track of the heading before the current heading. Useful for deciding the scan width

Class robocode.naval.ComponentManager extends Object implements Serializable

serialVersionUID: 6105556384436141732L

Serialized Fields

components

ArrayList<E> components
The list containing all the components.

Class robocode.naval.MineComponent extends ComponentBase implements Serializable

serialVersionUID: -3196489261971513847L

Serialized Fields

mineRecharge

double mineRecharge
The current time is takes to recharge.

Class robocode.naval.RadarComponent extends ComponentBase implements Serializable

serialVersionUID: 2L

Serialized Fields

scanArc

Arc2D.Double scanArc
The scan arc of the radar.


scanColor

Color scanColor

Class robocode.naval.WeaponComponent extends ComponentBase implements Serializable

serialVersionUID: 4L

Serialized Fields

bulletColor

Color bulletColor

blindSpot

BlindSpot blindSpot
This is the blind arch for the weapon.


gunHeat

double gunHeat
The current (over)heat of the gun.


power

double power
The fire power of the weapon.



Copyright © 2015 Robocode. All Rights Reserved.