Uses of Class
cz.cuni.amis.pogamut.defcon.consts.UnitType

Packages that use UnitType
cz.cuni.amis.pogamut.defcon.agent.module.sensor   
cz.cuni.amis.pogamut.defcon.communication.messages.commands   
cz.cuni.amis.pogamut.defcon.communication.messages.infos   
cz.cuni.amis.pogamut.defcon.communication.worldview.modules.managers.buildings   
cz.cuni.amis.pogamut.defcon.communication.worldview.modules.managers.fleets   
cz.cuni.amis.pogamut.defcon.consts   
cz.cuni.amis.pogamut.defcon.generator   
 

Uses of UnitType in cz.cuni.amis.pogamut.defcon.agent.module.sensor
 

Methods in cz.cuni.amis.pogamut.defcon.agent.module.sensor that return UnitType
 UnitType GameInfo.getType(int unitId)
          Returns type of unit with this id.
 

Methods in cz.cuni.amis.pogamut.defcon.agent.module.sensor with parameters of type UnitType
 boolean GameInfo.canCreateFleet(UnitType[] ships)
          Checks whether are there enough units of each type to create a fleet of a given composition.
 int GameInfo.getRemainingUnits(UnitType typeId)
          Amount of remaining units of given type that can be placed.
 int GameInfo.getUnitValue(UnitType typeId)
          Value of given unit type (if in variable unit mode).
 boolean GameInfo.isValidPlacementLocation(double longitude, double latitude, UnitType typeId)
          True iff given location is valid for placement of given type.
 boolean GameInfo.isValidPlacementLocation(float longitude, float latitude, UnitType typeId)
          True iff given location is valid for placement of given type.
 

Uses of UnitType in cz.cuni.amis.pogamut.defcon.communication.messages.commands
 

Methods in cz.cuni.amis.pogamut.defcon.communication.messages.commands that return UnitType
 UnitType[] PlaceFleet.getShips()
          List of ships to create.
 

Methods in cz.cuni.amis.pogamut.defcon.communication.messages.commands with parameters of type UnitType
 PlaceFleet PlaceFleet.setShips(UnitType[] ships)
          List of ships to create.
 

Constructors in cz.cuni.amis.pogamut.defcon.communication.messages.commands with parameters of type UnitType
PlaceFleet(DefConLocation location, UnitType[] ships)
          Creates new instance of command PlaceFleet.
 

Uses of UnitType in cz.cuni.amis.pogamut.defcon.communication.messages.infos
 

Methods in cz.cuni.amis.pogamut.defcon.communication.messages.infos that return UnitType
 UnitType DefConObject.getType()
          Returns type of this object.
 UnitType DefConWorldEvent.getUnitType()
          DOCUMENT ME!
 

Constructors in cz.cuni.amis.pogamut.defcon.communication.messages.infos with parameters of type UnitType
CeasedFire(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message CeasedFire.
DefConObject(int id, UnitType type, double time)
          Creates new object with specified id and time
DefConUnitObject(int id, UnitType type, int teamId, DefConLocation location, boolean visible, T state, int stateCount, int target, double time)
          Construtor of DefConUnitObject.
DefConViewableObject(int id, UnitType type, int teamId, DefConLocation location, boolean visible, double time)
          Creates new instance of message DefConViewAbleObject with specific id.
DefConWorldEvent(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates a new DefConWorldEvent object.
Destroyed(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message Destroyed.
Hit(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message Hit.
NewVote(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message NewVote.
NukeLaunchSilo(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message NukeLaunchSilo.
NukeLaunchSub(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message NukeLaunchSub.
PingCarrier(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message PingCarrier.
PingDetection(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message PingDetection.
PingSub(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message PingSub.
SharedRadar(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message SharedRadar.
TeamRetractedVoted(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message TeamRetractedVoted.
TeamVoted(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message TeamVoted.
UnceasedFire(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message UnceasedFire.
UnsharedRadar(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message UnsharedRadar.
VoteFinishedNo(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message VoteFinishedNo.
VoteFinishedYes(Event eventType, int causeObjectId, int targetObjectId, UnitType unitType, DefConLocation location, double time)
          Creates new instance of message VoteFinishedYes.
 

Uses of UnitType in cz.cuni.amis.pogamut.defcon.communication.worldview.modules.managers.buildings
 

Methods in cz.cuni.amis.pogamut.defcon.communication.worldview.modules.managers.buildings with parameters of type UnitType
 List<DefConLocation> BuildingPlacementProvider.getLocations(double minDistance, int count, UnitType buildingType)
          Returns a list of locations for building places, trying and putting them at least minDistance far.
static boolean BuildingsManager.isBuilding(UnitType type)
           
 void BuildingsManager.placeBuildings(List<DefConLocation> locations, UnitType type)
          Tries to place buildings on all given buildings location.
 

Uses of UnitType in cz.cuni.amis.pogamut.defcon.communication.worldview.modules.managers.fleets
 

Fields in cz.cuni.amis.pogamut.defcon.communication.worldview.modules.managers.fleets declared as UnitType
protected  UnitType[] FleetsManager.QueuedPlacing.fleetComposition
           
 

Methods in cz.cuni.amis.pogamut.defcon.communication.worldview.modules.managers.fleets with parameters of type UnitType
 boolean FleetsManager.placeFleet(DefConLocation location, UnitType[] ships, Object initData, IPlacingFinishedListener finishedListener)
          Tries to place fleet on a given location (queues the command).
 boolean FleetsManager.placeFleet(List<DefConLocation> orderedPlacements, UnitType[] fleetComposition, int fleetsCount, Object initData, IPlacingFinishedListener finishedListener)
          Tries to place the fleet on one of the given positions (queues the command, if it finds suitable place), starting from the head.
protected  boolean FleetsManager.placeFleetWorker(DefConLocation location, UnitType[] ships)
           
 

Constructors in cz.cuni.amis.pogamut.defcon.communication.worldview.modules.managers.fleets with parameters of type UnitType
FleetsManager.QueuedPlacing(int expectedCount, UnitType[] fleetComposition, Queue<DefConLocation> placementOptions, Object data, IPlacingFinishedListener callback)
           
 

Uses of UnitType in cz.cuni.amis.pogamut.defcon.consts
 

Fields in cz.cuni.amis.pogamut.defcon.consts with type parameters of type UnitType
static EnumSet<UnitType> UnitType.air
          Contains all air units that can receive commands.
static EnumSet<UnitType> UnitType.ground
          Contains all ground units that can receive commands.
static EnumSet<UnitType> UnitType.misc
          All other types.
static EnumSet<UnitType> UnitType.naval
          Contains all naval units that can receive commands.
static EnumSet<UnitType> UnitType.units
          Contains all units that can receive commands.
 

Methods in cz.cuni.amis.pogamut.defcon.consts that return UnitType
static UnitType UnitType.getEnum(int id)
          Returns appropriate UnitType for given integer.
static UnitType UnitType.valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UnitType[] UnitType.values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 

Methods in cz.cuni.amis.pogamut.defcon.consts with parameters of type UnitType
static Class<? extends DefConObject> UnitType.getClassOfUnitType(UnitType data)
          Provides mapping from UnitType to DefConObject class
 

Uses of UnitType in cz.cuni.amis.pogamut.defcon.generator
 

Methods in cz.cuni.amis.pogamut.defcon.generator that return UnitType
static UnitType[] FleetGenerator.getNewFleet(FleetGenerator.FleetType type, GameInfo info)
           
 



Copyright © 2013 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.