- getAngleTo(Point) - Method in class ihs.apcs.spacebattle.Point
-
Gets the absolute angle between this and another Point in space.
- getAxisMajorLength() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the length of a Planet, BlackHole, or Nebula on its major axis.
- getAxisMinorLength() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the length from the center of a Nebula that is perpendicular to the direction/rotation of the Nebula.
- getBaublePositions() - Method in class ihs.apcs.spacebattle.games.BaubleHuntGameInfo
-
Gets a list of positions where there are high-value baubles.
- getBaublesCarriedValue() - Method in class ihs.apcs.spacebattle.games.BaubleHuntGameInfo
-
Gets the value of the baubles being carried by your ship (maximum of 25).
- getBaublesCarriedValue() - Method in class ihs.apcs.spacebattle.games.TheHungerBaublesGameInfo
-
Gets the value of the baubles being carried by your ship.
- getBaublesCarriedWeight() - Method in class ihs.apcs.spacebattle.games.BaubleHuntGameInfo
-
Gets the total weight of the baubles being carried by your ship.
- getBaublesCarriedWeight() - Method in class ihs.apcs.spacebattle.games.TheHungerBaublesGameInfo
-
Gets the total weight of the baubles being carried by your ship.
- getBaublesInCargo() - Method in class ihs.apcs.spacebattle.games.TheHungerBaublesGameInfo
-
Gets a list of the baubles in your cargo hold.
- getBestScore() - Method in class ihs.apcs.spacebattle.BasicGameInfo
-
Gets your current highest score for the round.
- getBubblePositions() - Method in class ihs.apcs.spacebattle.games.KingOfTheBubbleGameInfo
-
Gets the positions of all current bubbles in the world.
- getById(int) - Method in class ihs.apcs.spacebattle.RadarResults
-
Gets the details read by this radar sweep for a particular object whose
ID is previously known.
- getByPosition(Point) - Method in class ihs.apcs.spacebattle.RadarResults
-
Gets the details read by this radar sweep for a particular object whose
location is previously known.
- getByType(String) - Method in class ihs.apcs.spacebattle.RadarResults
-
Gets the details read by this radar sweep for all objects of the given
type.
- getClosestMappedPoint(Point, int, int) - Method in class ihs.apcs.spacebattle.Point
-
Maps the other point across world boundaries to return the closest form of the given point.
- getColor() - Method in class ihs.apcs.spacebattle.RegistrationData
-
Gets the registered color.
- getCommandQueue() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the list of
CommandNames
your Ship is currently executing.
- getDistanceTo(Point) - Method in class ihs.apcs.spacebattle.Point
-
Gets the distance from this to another Point in space using the
standard distance formula.
- getEnergy() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the current amount of energy this object has.
- getEnergyCost() - Method in class ihs.apcs.spacebattle.commands.DeploySpaceMineCommand
-
Gets the energy cost for the constructed command.
- getEnergyCost(int) - Method in class ihs.apcs.spacebattle.commands.EjectCommand
-
Gets the energy cost for the constructed command.
- getGameInfo() - Method in class ihs.apcs.spacebattle.Environment
-
Gets information concerning the current game objective.
- getHealth() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the current Health of this object.
- getHighScore() - Method in class ihs.apcs.spacebattle.BasicGameInfo
-
Gets the current game leader's score.
- getHitRadius() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the radius of the object needed for collision detection.
- getId() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the object's Unique ID.
- getImage() - Method in class ihs.apcs.spacebattle.RegistrationData
-
Gets the registered image index.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.AllStopCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.CloakCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.CollectCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.DeploySpaceMineCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.EjectCommand
-
Gets the average one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.FireTorpedoCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.LowerEnergyScoopCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.RaiseShieldsCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.ScanCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.ShipCommand
-
Gets the one-time energy cost to initiate this command.
- getInitialEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.WarpCommand
-
Gets the one-time energy cost to initiate this command.
- getLastDestroyedBy() - Method in class ihs.apcs.spacebattle.BasicGameInfo
-
Gets a string representing the last thing that destroyed your ship.
- getLastSuccessfulIds() - Method in class ihs.apcs.spacebattle.games.DiscoveryQuestGameInfo
-
Gets an array of ints of ids for objects which a
ScanCommand
successfully processed.
- getMass() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets this object's mass.
- getMaxEnergy() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the maximum amount of energy this object could store.
- getMaxHealth() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the maximum amount of health this object could have.
- getMaxShield() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the maximum amount of Shields the Ship object could have.
- getMaxSpeed() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the maximum speed this object can travel.
- getMessage() - Method in class ihs.apcs.spacebattle.commands.ShipCommand
-
- getMessages() - Method in class ihs.apcs.spacebattle.Environment
-
Gets a list of messages currently received.
- getMissionLeft() - Method in class ihs.apcs.spacebattle.games.DiscoveryQuestGameInfo
-
Gets an array of strings containing the types of objects left to scan
in order to complete this mission.
- getMovementDirection() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Get the actual direction of travel for this object.
- getName() - Method in class ihs.apcs.spacebattle.commands.AllStopCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.BrakeCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.CloakCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.CollectCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.DeployLaserBeaconCommand
-
Creates a command to deploy a laser beacon at the ship's current
position.
- getName() - Method in class ihs.apcs.spacebattle.commands.DeploySpaceMineCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.DestroyAllLaserBeaconsCommand
-
Creates a command to destroy all your laser beacons.
- getName() - Method in class ihs.apcs.spacebattle.commands.EjectCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.FireTorpedoCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.IdleCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.LowerEnergyScoopCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.RadarCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.RaiseShieldsCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.RepairCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.RotateCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.ScanCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.ShipCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.SteerCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.ThrustCommand
-
- getName() - Method in class ihs.apcs.spacebattle.commands.WarpCommand
-
- getName() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the name of a Ship object.
- getName() - Method in class ihs.apcs.spacebattle.RegistrationData
-
Gets the registered name.
- getNextCommand(BasicEnvironment) - Method in class ihs.apcs.spacebattle.BasicSpaceship
-
- getNextCommand(Environment<BasicGameInfo>) - Method in class ihs.apcs.spacebattle.BasicSpaceship
-
- getNextCommand(Environment<T>) - Method in interface ihs.apcs.spacebattle.Spaceship
-
Issues a command to be executed by this ship on the server.
- getNumBaublesCarried() - Method in class ihs.apcs.spacebattle.games.BaubleHuntGameInfo
-
Gets the number of baubles currently carried by your ship (maximum of 5).
- getNumBaublesCarried() - Method in class ihs.apcs.spacebattle.games.TheHungerBaublesGameInfo
-
Gets the number of baubles currently carried by your ship.
- getNumberStored() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the number of cargo items carried by a Ship in a Game.
- getNumCollected() - Method in class ihs.apcs.spacebattle.games.BaubleHuntGameInfo
-
Gets the number of baubles collected and returned to your base.
- getNumDeaths() - Method in class ihs.apcs.spacebattle.BasicGameInfo
-
Gets the number of times you have died in this game.
- getNumObjects() - Method in class ihs.apcs.spacebattle.RadarResults
-
Gets the number of objects detected by this radar sweep.
- getObjectiveLocation() - Method in class ihs.apcs.spacebattle.BasicGameInfo
-
Gets a potential position of an assigned game location (read game rules for details).
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.BrakeCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.CloakCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.IdleCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.LowerEnergyScoopCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.RadarCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.RaiseShieldsCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.RepairCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.RotateCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.ScanCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.ShipCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.SteerCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.ThrustCommand
-
Gets the energy cost per second of this command.
- getOngoingEnergyCost() - Static method in class ihs.apcs.spacebattle.commands.WarpCommand
-
Gets the energy cost per second of this command.
- getOrientation() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the current Orientation of a Ship or Nebula.
- getOwnerId() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the ID of the Owner of this object.
- getPointAt(double, double) - Method in class ihs.apcs.spacebattle.Point
-
Returns a new point which represents the location at the given angle and distance away from this point.
- getPosition() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the position of this object within the world (0, 0) is the upper-left and increases down and to the right.
- getPullStrength() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the strength of the gravity or drag of a Planet, BlackHole or Nebula.
- getRadar() - Method in class ihs.apcs.spacebattle.Environment
-
Gets the results of the most recent radar sweep, if and only if the last command issued was a
RadarCommand
.
- getRadarLevel() - Method in class ihs.apcs.spacebattle.Environment
-
Gets the level of the last radar sweep, if the last command issued was a
RadarCommand
.
- getRadarRange() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the radius from a Ship object that its radar can detect objects.
- getRechargeRate() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the amount of energy this object restores per second.
- getRotationSpeed() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the number of degrees this Ship can turn in a second (default is 120).
- getScanIdsInProgress() - Method in class ihs.apcs.spacebattle.games.DiscoveryQuestGameInfo
-
Gets an array of ints of ids for objects which a
ScanCommand
is
currently in progress for.
- getScore() - Method in class ihs.apcs.spacebattle.BasicGameInfo
-
Gets your current score.
- getShieldLevel() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the current Shield strength of a Ship.
- getShipStatus() - Method in class ihs.apcs.spacebattle.Environment
-
Gets the status of your ship.
- getSpeed() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets this object's current speed.
- getTimeAlive() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the amount of time this object has lived in seconds.
- getTimeRemaining() - Method in class ihs.apcs.spacebattle.BasicGameInfo
-
Gets the current time remaining in the round (in seconds).
- getTotalRoundTime() - Method in class ihs.apcs.spacebattle.BasicGameInfo
-
Gets the total length of the round for this game (in seconds).
- getType() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
String representation of the Type of Object.
- getValue() - Method in class ihs.apcs.spacebattle.ObjectStatus
-
Gets the point value worth of a Bubble, Bauble, or Ship in a Game.
- getX() - Method in class ihs.apcs.spacebattle.Point
-
Gets the x-coordinate of this point.
- getY() - Method in class ihs.apcs.spacebattle.Point
-
Gets the y-coordinate of this point.
- GraphicalClient - Class in ihs.apcs.spacebattle
-
- GraphicalClient(String[]) - Constructor for class ihs.apcs.spacebattle.GraphicalClient
-