Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES

# Serialized Form

Package edu.cwru.SimpleRTS.agent

Class edu.cwru.SimpleRTS.agent.Agent extends java.lang.Object implements Serializable

Serialized Fields

### verbose

    boolean verbose

### playernum

    int playernum

### ID

    int ID

### chosenActions

    com.google.common.collect.ImmutableMap.Builder<K,V> chosenActions

Class edu.cwru.SimpleRTS.agent.BasicGatheringCoordinator extends java.lang.Object implements Serializable

Serialized Fields

### playerID

    int playerID

### miners

    java.util.List<E> miners

### others

    java.util.List<E> others

### idles

    java.util.List<E> idles

### lumberjacks

    java.util.List<E> lumberjacks

### r

    java.util.Random r

Class edu.cwru.SimpleRTS.agent.BusynessCoordinator extends java.lang.Object implements Serializable

Serialized Fields

### busy

    java.util.List<E> busy

### lazy

    java.util.List<E> lazy

### player

    int player

Class edu.cwru.SimpleRTS.agent.CombatAgent extends Agent implements Serializable

serialVersionUID: 1L

Serialized Fields

### unitOrders

    java.util.Map<K,V> unitOrders

### enemies

    int[] enemies

### wanderwhenidle

    boolean wanderwhenidle

Class edu.cwru.SimpleRTS.agent.MyAgent extends Agent implements Serializable

serialVersionUID: -4047208702628325380L

Serialized Fields

### goldRequired

    int goldRequired

### woodRequired

    int woodRequired

### currentState

    State.StateView currentState

Class edu.cwru.SimpleRTS.agent.PrimativeAttackCoordinator extends java.lang.Object implements Serializable

Serialized Fields

### playernum

    int playernum

### attackers

    java.util.List<E> attackers

### primarytargetID

    java.lang.Integer primarytargetID

Class edu.cwru.SimpleRTS.agent.ScriptedGoalAgent extends Agent implements Serializable

serialVersionUID: 1L

Serialized Fields

### nextgoal

    ScriptedGoalAgent.Goal nextgoal

### commandSource

    java.lang.String[] commandSource

### commandSourceIterator

    int commandSourceIterator

### outofcommands

    boolean outofcommands

### attackcoordinator

    PrimativeAttackCoordinator attackcoordinator

### gathercoordinator

    BasicGatheringCoordinator gathercoordinator

### busycoordinator

    BusynessCoordinator busycoordinator

### centeroftown

    int[] centeroftown

### verbose

    boolean verbose

Class edu.cwru.SimpleRTS.agent.ScriptedGoalAgent.Goal extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### type

    edu.cwru.SimpleRTS.agent.ScriptedGoalAgent.GoalType type

### attackwithall

    boolean attackwithall

### numgatherers

    int numgatherers

### starttype

    edu.cwru.SimpleRTS.agent.ScriptedGoalAgent.GathererTask starttype

### endtype

    edu.cwru.SimpleRTS.agent.ScriptedGoalAgent.GathererTask endtype

### template

    Template.TemplateView template

### waittype

    edu.cwru.SimpleRTS.agent.ScriptedGoalAgent.WaitType waittype

### xoffset

    int xoffset

### yoffset

    int yoffset

### waitvalue

    int waitvalue

### commandstring

    java.lang.String commandstring

### agent

    ScriptedGoalAgent agent

Class edu.cwru.SimpleRTS.agent.SimpleAgent1 extends Agent implements Serializable

Serialized Fields

### currentState

    State.StateView currentState

Class edu.cwru.SimpleRTS.agent.SimpleAgent2 extends Agent implements Serializable

Serialized Fields

### currentState

    State.StateView currentState

### targetsOfUnits

    java.util.Map<K,V> targetsOfUnits

### targetCounts

    java.util.Map<K,V> targetCounts

Package edu.cwru.SimpleRTS.agent.visual

Class edu.cwru.SimpleRTS.agent.visual.GameScreen extends javax.swing.JFrame implements Serializable

serialVersionUID: 1L

Serialized Fields

### canvas

    edu.cwru.SimpleRTS.agent.visual.GameScreen.PaintPanel canvas

### currentState

    State.StateView currentState

### tlx

    int tlx

### tly

    int tly

Class edu.cwru.SimpleRTS.agent.visual.VisualAgent extends Agent implements Serializable

serialVersionUID: 1L

Serialized Fields

### screen

    GameScreen screen

### controlWindow

    VisualAgentControlWindow controlWindow

### stepSignal

    java.util.concurrent.Semaphore stepSignal

### stepperListener

    java.awt.event.ActionListener stepperListener

### canvasKeyListener

    java.awt.event.KeyAdapter canvasKeyListener

Class edu.cwru.SimpleRTS.agent.visual.VisualAgentControlWindow extends javax.swing.JFrame implements Serializable

serialVersionUID: 1L

Serialized Fields

### stepper

    javax.swing.JButton stepper

Package edu.cwru.SimpleRTS.agent.visual.editor

Class edu.cwru.SimpleRTS.agent.visual.editor.Editor extends javax.swing.JFrame implements Serializable

Serialized Fields

### screen

    GameScreen screen

### state

    State state

### templateSelector

    javax.swing.JComboBox templateSelector

### playerSelector

    javax.swing.JComboBox playerSelector

### addPlayer

    javax.swing.JButton addPlayer

### cursorGroup

    javax.swing.ButtonGroup cursorGroup

### resourceAmount

    javax.swing.JTextField resourceAmount

### selectPointer

    javax.swing.JRadioButton selectPointer

### selectUnit

    javax.swing.JRadioButton selectUnit

### selectTree

    javax.swing.JRadioButton selectTree

### selectMine

    javax.swing.JRadioButton selectMine

### save

    javax.swing.JButton save

### error

    javax.swing.JTextArea error

Package edu.cwru.SimpleRTS.environment

Class edu.cwru.SimpleRTS.environment.LoadingStateCreator extends java.lang.Object implements Serializable

Serialized Fields

### loadfilename

    java.lang.String loadfilename

Class edu.cwru.SimpleRTS.environment.State extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialization Methods

### readObject

    private void readObject(java.io.ObjectInputStream in)
                     throws java.io.IOException,
                            java.lang.ClassNotFoundException

  Throws:
    `java.io.IOException`
    `java.lang.ClassNotFoundException`

Serialized Fields

### MAXSUPPLY

    int MAXSUPPLY

### allUnits

    java.util.Map<K,V> allUnits

### unitsByAgent

    java.util.Map<K,V> unitsByAgent

### resourceNodes

    java.util.List<E> resourceNodes

### turnNumber

    int turnNumber

### currentResources

    java.util.Map<K,V> currentResources

### currentSupply

    java.util.Map<K,V> currentSupply

### currentSupplyCap

    java.util.Map<K,V> currentSupplyCap

### upgradesByAgent

    java.util.Map<K,V> upgradesByAgent

### xextent

    int xextent

### yextent

    int yextent

### templatesByAgent

    java.util.Map<K,V> templatesByAgent

### allTemplates

    java.util.Map<K,V> allTemplates

### view

    State.StateView view

### eventlog

    EventLogger eventlog

### actionlog

    ActionLogger actionlog

Class edu.cwru.SimpleRTS.environment.State.StateView extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### state

    State state

Package edu.cwru.SimpleRTS.Log

Class edu.cwru.SimpleRTS.Log.ActionLogger extends java.lang.Object implements Serializable

Serialized Fields

### actions

    java.util.Map<K,V> actions

### roundnumber

    int roundnumber

Class edu.cwru.SimpleRTS.Log.BirthLog extends java.lang.Object implements Serializable

Serialized Fields

### unitid

    int unitid

### player

    int player

### parent

    int parent

Class edu.cwru.SimpleRTS.Log.DamageLog extends java.lang.Object implements Serializable

Serialized Fields

### damager

    int damager

### damagercontroller

    int damagercontroller

### damagee

    int damagee

### damageecontroller

    int damageecontroller

### amount

    int amount

Class edu.cwru.SimpleRTS.Log.DeathLog extends java.lang.Object implements Serializable

Serialized Fields

### unitid

    int unitid

### player

    int player

Class edu.cwru.SimpleRTS.Log.EventLogger extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### damagelog

    java.util.List<E> damagelog

### deathlog

    java.util.List<E> deathlog

### birthlog

    java.util.List<E> birthlog

### upgradelog

    java.util.List<E> upgradelog

### exhaustlog

    java.util.List<E> exhaustlog

### gatherlog

    java.util.List<E> gatherlog

### depositlog

    java.util.List<E> depositlog

### currentroundnumber

    int currentroundnumber

### view

    EventLogger.EventLoggerView view

Class edu.cwru.SimpleRTS.Log.EventLogger.EventLoggerView extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### master

    EventLogger master

Class edu.cwru.SimpleRTS.Log.ResourceDropoffLog extends java.lang.Object implements Serializable

Serialized Fields

### pickuperid

    int pickuperid

### resource

    ResourceType resource

### amount

    int amount

### depotid

    int depotid

Class edu.cwru.SimpleRTS.Log.ResourceExhaustionLog extends java.lang.Object implements Serializable

Serialized Fields

### nodeid

    int nodeid

### nodetype

    ResourceNode.Type nodetype

Class edu.cwru.SimpleRTS.Log.ResourcePickupLog extends java.lang.Object implements Serializable

Serialized Fields

### pickuper

    int pickuper

### resource

    ResourceType resource

### amount

    int amount

### nodetype

    ResourceNode.Type nodetype

### nodeid

    int nodeid

Class edu.cwru.SimpleRTS.Log.UpgradeLog extends java.lang.Object implements Serializable

Serialized Fields

### upgradetemplateid

    int upgradetemplateid

### player

    int player

Package edu.cwru.SimpleRTS.model

Class edu.cwru.SimpleRTS.model.SimpleModel extends java.lang.Object implements Serializable

serialVersionUID: -8289868580233478749L

Serialized Fields

### rand

    java.util.Random rand

### state

    State state

### queuedActions

    java.util.HashMap<K,V> queuedActions

### planner

    SimplePlanner planner

### restartTactic

    StateCreator restartTactic

### verbose

    boolean verbose

Class edu.cwru.SimpleRTS.model.SimplePlanner extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### state

    State state

Class edu.cwru.SimpleRTS.model.Target extends java.lang.Object implements Serializable

serialVersionUID: 3105626783863300558L

Serialized Fields

### serialVersionUID

    long serialVersionUID

### ID

    int ID

Class edu.cwru.SimpleRTS.model.Template extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### view

    Template.TemplateView view

### timeCost

    int timeCost

### goldCost

    int goldCost

### woodCost

    int woodCost

### foodCost

    int foodCost

### player

    int player

### prereqs

    PrerequisiteHolder prereqs

### buildPrereq

    java.util.Set<E> buildPrereq

### upgradePrereq

    java.util.Set<E> upgradePrereq

### name

    java.lang.String name

### ID

    int ID

Class edu.cwru.SimpleRTS.model.Template.TemplateView extends java.lang.Object implements Serializable

Serialized Fields

### template

    Template<T> template

Package edu.cwru.SimpleRTS.model.prerequisite

Class edu.cwru.SimpleRTS.model.prerequisite.BuildingPrerequisite extends java.lang.Object implements Serializable

Serialized Fields

### buildingtemplateid

    int buildingtemplateid

### player

    int player

Class edu.cwru.SimpleRTS.model.prerequisite.PrerequisiteHolder extends java.lang.Object implements Serializable

Serialized Fields

### prerequisites

    java.util.List<E> prerequisites

Class edu.cwru.SimpleRTS.model.prerequisite.UpgradePrerequisite extends java.lang.Object implements Serializable

Serialized Fields

### upgradeid

    int upgradeid

### playerid

    int playerid

Package edu.cwru.SimpleRTS.model.resource

Class edu.cwru.SimpleRTS.model.resource.ResourceNode extends Target implements Serializable

Serialized Fields

### type

    ResourceNode.Type type

### xPosition

    int xPosition

### yPosition

    int yPosition

### amountRemaining

    int amountRemaining

### view

    ResourceNode.ResourceView view

Class edu.cwru.SimpleRTS.model.resource.ResourceNode.ResourceView extends java.lang.Object implements Serializable

serialVersionUID: 1L

Serialized Fields

### node

    ResourceNode node

Package edu.cwru.SimpleRTS.model.unit

Class edu.cwru.SimpleRTS.model.unit.Unit extends Target implements Serializable

Serialized Fields

### view

    Unit.UnitView view

### currentHealth

    int currentHealth

### xPosition

    int xPosition

### yPosition

    int yPosition

### template

    UnitTemplate template

### cargoType

    ResourceType cargoType

### task

    UnitTask task

### cargoAmount

    int cargoAmount

### currentProduction

    Template<T> currentProduction

### currentProductionAmount

    int currentProductionAmount

Class edu.cwru.SimpleRTS.model.unit.Unit.UnitView extends java.lang.Object implements Serializable

Serialized Fields

### unit

    Unit unit

Class edu.cwru.SimpleRTS.model.unit.UnitTemplate extends Template<Unit> implements Serializable

serialVersionUID: 1L

Serialized Fields

### unitName

    java.lang.String unitName

### baseHealth

    int baseHealth

### basicAttack

    int basicAttack

### piercingAttack

    int piercingAttack

### range

    int range

### armor

    int armor

### sightRange

    int sightRange

### canGather

    boolean canGather

### canBuild

    boolean canBuild

### canMove

    boolean canMove

### canAcceptGold

    boolean canAcceptGold

### canAcceptWood

    boolean canAcceptWood

### foodProvided

    int foodProvided

### character

    char character

### prerequisite

    Prerequisite prerequisite

### goldGatherRate

    int goldGatherRate

### woodGatherRate

    int woodGatherRate

### produces

    java.util.List<E> produces

### producesID

    java.util.List<E> producesID

Class edu.cwru.SimpleRTS.model.unit.UnitTemplate.UnitTemplateView extends Template.TemplateView implements Serializable

serialVersionUID: 1L

Serialized Fields

### template

    UnitTemplate template

Package edu.cwru.SimpleRTS.model.upgrade

Class edu.cwru.SimpleRTS.model.upgrade.UpgradeTemplate extends Template<Upgrade> implements Serializable

Serialized Fields

### attackchange

    int attackchange

### defensechange

    int defensechange

### unittemplatesaffected

    java.util.List<E> unittemplatesaffected

### stringunitsaffected

    java.lang.String[] stringunitsaffected

### timetoproduce

    int timetoproduce

Package edu.cwru.SimpleRTS.util

Class edu.cwru.SimpleRTS.util.GameMap extends java.lang.Object implements Serializable

Package org.json

Class org.json.JSONException extends java.lang.Exception implements Serializable

serialVersionUID: 0L

Serialized Fields

### cause

    java.lang.Throwable cause

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV NEXT | FRAMES NO FRAMES