- calculateDiceRollKills(boolean) - Method in class com.sillysoft.vox.UnitStack
-
- calculateDiceRollKills(boolean) - Method in class com.sillysoft.vox.UnitStackGroup
-
- canCache() - Method in class com.sillysoft.lux.ExternalMapGenerator
-
- canCache() - Method in class com.sillysoft.lux.Gemisys
-
- canCache() - Method in interface com.sillysoft.lux.LuxMapGenerator
-
Is Lux allowed to create and cache maps from this generator.
- canCache() - Method in class com.sillysoft.lux.RandomMapGenerator
-
- canCache() - Method in class com.sillysoft.lux.Terrorism
-
- canCache() - Method in class com.sillysoft.lux.TerrorismOps
-
- canGoto(Country) - Method in class com.sillysoft.lux.Country
-
An adjacency test.
- canGoto(int) - Method in class com.sillysoft.lux.Country
-
An adjacency test.
- canShoreBombard() - Method in interface com.sillysoft.vox.Unit
-
- canShoreBombard() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- canUnitReachLand(UnitStack, Country, Country) - Static method in class com.sillysoft.vox.CountryPathFinder
-
- captureTrailingNumbers(String) - Static method in class com.sillysoft.tools.StringTool
-
Return the numbers at the end of a string (e.g.
- Card - Class in com.sillysoft.lux
-
The Card class provides a data structure for representing cards, as well as some methods for checking sets.
- Card(int, int) - Constructor for class com.sillysoft.lux.Card
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Angry
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.BetterPixie
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.BlankAgent
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Boring
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Boscoe
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Chimera
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Empty
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.EvilPixie
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Killbot
-
- cardsPhase(Card[]) - Method in interface com.sillysoft.lux.agent.LuxAgent
-
The cardsPhase method is called at the very beginning of your agent's turn.
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Noisy
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Quo
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.SmartAgentBase
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Stinky
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Trotsky
-
- cardsPhase(Card[]) - Method in class com.sillysoft.lux.agent.Vulture
-
- cashCards(Card, Card, Card) - Method in class com.sillysoft.lux.Board
-
Cashes in the given card set.
- cashCardsIfPossible(Card[]) - Method in class com.sillysoft.lux.agent.SmartAgentBase
-
- cheapestRouteFromOwnerToCont(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
This method will return an array of country-codes consisting of the
cheapest route between a country owned by owner and the
continent.
- Chimera - Class in com.sillysoft.lux.agent
-
- Chimera() - Constructor for class com.sillysoft.lux.agent.Chimera
-
- clearAdjoiningList(Object) - Method in class com.sillysoft.lux.Country
-
- closestCountryWithOwner(Country, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Find the closest country to CC that is owned by owner.
- closestCountryWithOwner(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Find the closest country to CC that is owned by owner.
- closestCountryWithOwner(List, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Find the closest country to a country in startingCountryList that is owned by owner.
- Cluster - Class in com.sillysoft.lux.agent
-
Cluster expands from his biggest cluster of countries.
- Cluster() - Constructor for class com.sillysoft.lux.agent.Cluster
-
- ClusterBorderIterator - Class in com.sillysoft.lux.util
-
Iterate through the countries that form the border of a cluster around a root Country.
- ClusterBorderIterator(Country) - Constructor for class com.sillysoft.lux.util.ClusterBorderIterator
-
- color - Variable in class com.sillysoft.tools.ExtraLine
-
- colorFromString(String) - Static method in class com.sillysoft.tools.GraphicsTool
-
- com.sillysoft.lux - package com.sillysoft.lux
-
Provides the API needed to interact with the Lux world.
- com.sillysoft.lux.agent - package com.sillysoft.lux.agent
-
LuxAgent interface and examples.
- com.sillysoft.lux.util - package com.sillysoft.lux.util
-
Utilies for interacting with Country objects.
- com.sillysoft.tools - package com.sillysoft.tools
-
- com.sillysoft.vox - package com.sillysoft.vox
-
- com.sillysoft.vox.agent - package com.sillysoft.vox.agent
-
- com.sillysoft.vox.unit - package com.sillysoft.vox.unit
-
- Communist - Class in com.sillysoft.lux.agent
-
- Communist() - Constructor for class com.sillysoft.lux.agent.Communist
-
- consolidateUnits() - Method in class com.sillysoft.vox.UnitStackGroup
-
- contains(Object) - Method in class com.sillysoft.lux.util.CountryRoute
-
Return true if this route contains the given object (which should be a Country).
- contains(Point) - Method in class com.sillysoft.vox.Country
-
- contains(UnitStack) - Method in class com.sillysoft.vox.UnitStackGroup
-
- containsASet(Card[]) - Static method in class com.sillysoft.lux.Card
-
A test of whether the array of cards contains at least one cashable set.
- containsLoadedTransport() - Method in class com.sillysoft.vox.UnitStackGroup
-
- containsPoint(Point) - Method in class com.sillysoft.vox.UnitStack
-
- Continent - Class in com.sillysoft.vox
-
Data structure for a Continent in the game.
- ContinentIterator - Class in com.sillysoft.lux.util
-
An Iterator of all the Countries that are members of continent.
- ContinentIterator(int, Country[]) - Constructor for class com.sillysoft.lux.util.ContinentIterator
-
- ContinentIterator(int, CountryIterator) - Constructor for class com.sillysoft.lux.util.ContinentIterator
-
- convertToBufferedImage(Image) - Static method in class com.sillysoft.tools.GraphicsTool
-
- costNotCountingPlayer(int) - Method in class com.sillysoft.lux.util.CountryRoute
-
- costNotCountingPlayer(int, int) - Method in class com.sillysoft.lux.util.CountryRoute
-
- count(String, String) - Static method in class com.sillysoft.tools.XMLTool
-
Count the number of times a tag open and close pair appears in the contents.
- countLines(String) - Static method in class com.sillysoft.tools.StringTool
-
Count the number of lines in the String.
- CountriesManager - Interface in com.sillysoft.vox
-
- Country - Class in com.sillysoft.lux
-
A Country instance represents a single territory in the game.
- Country(int, int, Object) - Constructor for class com.sillysoft.lux.Country
-
Create a new country.
- Country - Class in com.sillysoft.vox
-
Data structure for a Country in the game.
- Country() - Constructor for class com.sillysoft.vox.Country
-
- Country(Attributes) - Constructor for class com.sillysoft.vox.Country
-
- CountryCluster - Class in com.sillysoft.lux.util
-
CountryCluster is a data structure which stores a set of connected country objects.
- CountryCluster(List) - Constructor for class com.sillysoft.lux.util.CountryCluster
-
Create a CountryCluster containing exactly the countries in the given List.
- CountryClusterSet - Class in com.sillysoft.lux.util
-
CountryClusterSet is a data structure that stores a set of CountryCluster objects.
- CountryElement - Class in com.sillysoft.lux.util
-
A simple class for use in the stacks.
- CountryElement() - Constructor for class com.sillysoft.lux.util.CountryElement
-
- CountryElement(Country, int) - Constructor for class com.sillysoft.lux.util.CountryElement
-
- countryIsInDanger(Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Is the country in danger this turn? WARNING: only looks at distance-1 enemies right now! WARNING: will not consider one-way connections into this country!
- CountryIterator - Class in com.sillysoft.lux.util
-
An abstract class to serve as the superclass for a variety of different Country Iterators.
- CountryIterator() - Constructor for class com.sillysoft.lux.util.CountryIterator
-
- CountryPath - Class in com.sillysoft.lux.util
-
This class represents a path of connected countries.
- CountryPath(Country, int, int[]) - Constructor for class com.sillysoft.lux.util.CountryPath
-
- CountryPathFinder - Class in com.sillysoft.vox
-
Utility class to calculate distances between a graph of Country objects.
- CountryPathFinder() - Constructor for class com.sillysoft.vox.CountryPathFinder
-
- CountryPathStack - Class in com.sillysoft.lux.util
-
This is an implementation of a stack that stores CountryPath objects.
- CountryPathStack() - Constructor for class com.sillysoft.lux.util.CountryPathStack
-
- CountryRoute - Class in com.sillysoft.lux.util
-
CountryRoute is a data structure that stores an ordered path of Country's.
- CountryRoute(List) - Constructor for class com.sillysoft.lux.util.CountryRoute
-
- CountryRoute(Country[]) - Constructor for class com.sillysoft.lux.util.CountryRoute
-
- CountryRoute(int[], Country[]) - Constructor for class com.sillysoft.lux.util.CountryRoute
-
- CountryStack - Class in com.sillysoft.lux.util
-
This is an implementation of a stack.
- CountryStack() - Constructor for class com.sillysoft.lux.util.CountryStack
-
- countryWithID(int) - Method in class com.sillysoft.vox.VoxWorld
-
- countSolo(String, String) - Static method in class com.sillysoft.tools.XMLTool
-
Count the number of times a tag appears in the contents.
- createBufferedImage(int, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
-
Create and return a BufferedImage of the desired size and transparency that is compatible with the screen.
- createUnit(String, Player) - Static method in class com.sillysoft.vox.UnitPack
-
- createUnitSafe(String, Player) - Static method in class com.sillysoft.vox.UnitPack
-
Will not throw exceptions, may return null.
- gatherKnightTo(int, int...) - Method in class com.sillysoft.vox.agent.AI3
-
- gatherKnightTo(int, int...) - Method in class com.sillysoft.vox.agent.Earl
-
- gatherKnightTo(int, int...) - Method in class com.sillysoft.vox.agent.Kodos
-
- gatherTo(int, int...) - Method in class com.sillysoft.vox.agent.AI2
-
- gatherTo(int, int...) - Method in class com.sillysoft.vox.agent.AI3
-
- gatherTo(int, int...) - Method in class com.sillysoft.vox.agent.Earl
-
- gatherTo(int, int...) - Method in class com.sillysoft.vox.agent.Kodos
-
- Gemisys - Class in com.sillysoft.lux
-
- Gemisys() - Constructor for class com.sillysoft.lux.Gemisys
-
- generalPathFromString(String) - Static method in class com.sillysoft.tools.GraphicsTool
-
Take a string with a list of points and returns the GeneralPath it creates.
- generate(PrintWriter, String, int, MapLoader) - Method in class com.sillysoft.lux.ExternalMapGenerator
-
- generate(PrintWriter, String, int, MapLoader) - Method in class com.sillysoft.lux.Gemisys
-
- generate(PrintWriter, String, int, MapLoader) - Method in interface com.sillysoft.lux.LuxMapGenerator
-
Generate a map of the given 'choice' and output it to the given PrintWriter.
- generate(PrintWriter, String, int, MapLoader) - Method in class com.sillysoft.lux.RandomMapGenerator
-
- generate(PrintWriter, String, int, MapLoader) - Method in class com.sillysoft.lux.Terrorism
-
- generate(PrintWriter, String, int, MapLoader) - Method in class com.sillysoft.lux.TerrorismOps
-
- generateBoard() - Method in class com.sillysoft.lux.RandomMapGenerator
-
The main method that controls the generation of a map.
- generateNextShapeAroundPoint(double, double) - Method in class com.sillysoft.lux.RandomMapGenerator
-
Generate the next country shape around the given point.
- get(int) - Method in class com.sillysoft.lux.util.CountryRoute
-
Get a Country out of the route.
- get(int) - Method in class com.sillysoft.vox.UnitStackGroup
-
- getAdjoiningCodeList() - Method in class com.sillysoft.lux.Country
-
Return an int array containing the country codes of all adjoining countries.
- getAdjoiningList() - Method in class com.sillysoft.lux.Country
-
Returns an array containing all of the Country's that are touching this Country.
- getAdjoiningList() - Method in class com.sillysoft.vox.Country
-
Returns the List of countries that can be reached from this one.
- getAgentInstance(String) - Method in class com.sillysoft.lux.Board
-
Return a LuxAgent instance of the specified type (ie Angry, Trotsky, etc).
- getAgentName(int) - Method in class com.sillysoft.lux.Board
-
Returns whatever the name() method of the of the given agent returns.
- getAgentPath() - Static method in class com.sillysoft.lux.Board
-
Get the local path to the Agents folder, where any resource files you need can be stored.
- getAgentType() - Method in class com.sillysoft.vox.Player
-
- getAllCountriesNotOwnedBy(int, Country[]) - Static method in class com.sillysoft.lux.util.CountryClusterSet
-
Get the set of clusters that contain every Country in the given array that is not owned by the given player.
- getAllCountriesOwnedBy(int, Country[]) - Static method in class com.sillysoft.lux.util.CountryClusterSet
-
Create a set of CountryClusters making up all the countries owned by the given player.
- getArmies() - Method in class com.sillysoft.lux.Country
-
Returns the number of armies in this Country.
- getArmies() - Method in class com.sillysoft.lux.util.CountryCluster
-
Get a count of the combined number of armies in this cluster.
- getArmies() - Method in class com.sillysoft.lux.util.CountryRoute
-
Get the total count of armies along this route.
- getAttack() - Method in interface com.sillysoft.vox.Unit
-
- getAttack() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getAttack() - Method in class com.sillysoft.vox.unit.UnitCastle
-
- getAttack() - Method in class com.sillysoft.vox.unit.UnitFlag
-
- getAttack() - Method in class com.sillysoft.vox.unit.UnitKnight
-
- getAttack() - Method in class com.sillysoft.vox.unit.UnitPawn
-
- getAttackerUnitStackGroup(Country, Player) - Method in class com.sillysoft.vox.VoxWorld
-
Return the UnitStackGroup containing all the units from Player attacking this Country.
- getAttackList(Country, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Get the list of countries that can attack the target.
- getAttackMovement() - Method in interface com.sillysoft.vox.Unit
-
- getAttackMovement() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getAttackMovement() - Method in class com.sillysoft.vox.UnitStack
-
- getBestCastleBuildCountry() - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return a country that we own that it would make sense to build a castle on.
- getBestSet(Card[], int, Country[]) - Static method in class com.sillysoft.lux.Card
-
This returns a size-3 Card array, containing a set from amongst the given array that uses as many cards owned by player as possible.
- getBonus() - Method in class com.sillysoft.vox.Continent
-
- getBonus() - Method in class com.sillysoft.vox.Country
-
- getBounds() - Method in class com.sillysoft.vox.Country
-
- getBounds() - Method in class com.sillysoft.vox.UnitStack
-
- getBoxedStringRectangle(Font, String, int, int, int, int, Color, Color, int, Color) - Static method in class com.sillysoft.tools.GraphicsTool
-
Return the Rectangle that contains where this boxed string would be drawn.
- getBrain() - Method in class com.sillysoft.vox.Player
-
- getBubbleFor(int, Color) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getBufferedImageFromJAR(String) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getBuyableUnitsForPlayer(Player) - Method in class com.sillysoft.vox.VoxWorld
-
- getCardProgression() - Method in class com.sillysoft.lux.Board
-
Return a string representation the card progression for this game.
- getCarriedUnitCount() - Method in class com.sillysoft.vox.UnitStack
-
If the underlying unit is a transport then this will return the number of units being carried.
- getCarriedUnitCountAir() - Method in class com.sillysoft.vox.UnitStack
-
- getCarriedUnitCountMissiles() - Method in class com.sillysoft.vox.UnitStack
-
- getCarriedUnits() - Method in class com.sillysoft.vox.UnitStack
-
- getCarriedUnitsAir() - Method in class com.sillysoft.vox.UnitStack
-
- getCarriedUnitsMissiles() - Method in class com.sillysoft.vox.UnitStack
-
- getCastle() - Method in class com.sillysoft.vox.UnitStackGroup
-
- getCastleCountriesOwnedBy(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getCenter() - Method in class com.sillysoft.vox.Country
-
- getCenterOfGeneralPath(GeneralPath) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getCenterOfShape(Shape) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getCenterPoint() - Method in class com.sillysoft.vox.UnitStack
-
- getCharacterDataFromElement(Element) - Static method in class com.sillysoft.lux.Terrorism
-
- getCharacterDataFromElement(Element) - Static method in class com.sillysoft.lux.TerrorismOps
-
- getChoices() - Method in class com.sillysoft.lux.ExternalMapGenerator
-
- getChoices() - Method in class com.sillysoft.lux.Gemisys
-
- getChoices() - Method in interface com.sillysoft.lux.LuxMapGenerator
-
Return a List of Strings giving the different map styles this generator can do.
- getChoices() - Method in class com.sillysoft.lux.RandomMapGenerator
-
- getChoices() - Method in class com.sillysoft.lux.Terrorism
-
- getChoices() - Method in class com.sillysoft.lux.TerrorismOps
-
- getCluster(int) - Method in class com.sillysoft.lux.util.CountryClusterSet
-
- getCode() - Method in class com.sillysoft.lux.Card
-
Returns the country code associated with this card.
- getCode() - Method in class com.sillysoft.lux.Country
-
Returns the country-code of this Country.
- getCode() - Method in class com.sillysoft.lux.util.CountryElement
-
- getColor() - Method in class com.sillysoft.vox.Continent
-
- getColor() - Method in class com.sillysoft.vox.Player
-
- getCommonStart(String, String) - Static method in class com.sillysoft.tools.StringTool
-
Return the common starting chars of the 2 strings in a case in-sensitive manner.
- getCommonStart(List) - Static method in class com.sillysoft.tools.StringTool
-
- getContainedPointAlongLine(Point, Point, Shape) - Static method in class com.sillysoft.tools.GraphicsTool
-
Get a point just inside the Shape along the given line.
- getContinent() - Method in class com.sillysoft.lux.Country
-
Returns the continent-code of this Country.
- getContinent(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getContinentBonus(int) - Method in class com.sillysoft.lux.Board
-
Returns the number of bonus armies given for owning the specified continent.
- getContinentBonusPartial(VoxWorld) - Method in class com.sillysoft.vox.Country
-
- getContinentBorders(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
This method returns an array of countryCodes of the border countries
of continent.
- getContinentBordersBeyond(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
This method returns an array of countryCodes of the border countries
outside the requested continent.
- getContinentID() - Method in class com.sillysoft.vox.Country
-
- getContinentIncrease() - Method in class com.sillysoft.lux.Board
-
Return the percent increase of the continents.
- getContinentName(int) - Method in class com.sillysoft.lux.Board
-
Returns the name of the specified continent (or null if the map did not give one).
- getContinents() - Method in interface com.sillysoft.vox.CountriesManager
-
- getContinentSize(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Returns the number of countries in continent.
- getContinentSize(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getContrastingBase(Color) - Static method in class com.sillysoft.tools.GraphicsTool
-
Return The color WHITE or BLACK, whichever provides more contrast to the given color.
- getContrastingBase(Color, float) - Static method in class com.sillysoft.tools.GraphicsTool
-
Return The color WHITE or BLACK, whichever provides more contrast to the given color.
- getControllerName() - Method in class com.sillysoft.vox.Player
-
Return the name of the human controlling this player, or the name of the bot type controlling it.
- getCost() - Method in interface com.sillysoft.vox.Unit
-
- getCost() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getCost() - Method in class com.sillysoft.vox.unit.UnitCastle
-
- getCost() - Method in class com.sillysoft.vox.unit.UnitFlag
-
- getCost() - Method in class com.sillysoft.vox.unit.UnitKnight
-
- getCost() - Method in class com.sillysoft.vox.unit.UnitPawn
-
- getCost() - Method in class com.sillysoft.vox.UnitStack
-
- getCost() - Method in class com.sillysoft.vox.UnitStackGroup
-
- getCount() - Method in class com.sillysoft.vox.UnitStack
-
- getCountries() - Method in class com.sillysoft.lux.Board
-
Will return an array of all the countries in the game.
- getCountries() - Method in interface com.sillysoft.vox.CountriesManager
-
- getCountries() - Method in class com.sillysoft.vox.VoxWorld
-
- getCountriesArray() - Method in class com.sillysoft.vox.VoxWorld
-
- getCountriesCopy(Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Create a copy of the countries array, for simulation.
- getCountryInContinent(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Returns the code of a country inside continent.
- getDanger(Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Warning: Counts range 2 enemy pawns as danger at same level.
- getDefaultConfiguration() - Static method in class com.sillysoft.tools.GraphicsTool
-
- getDefend() - Method in interface com.sillysoft.vox.Unit
-
- getDefend() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getDefend() - Method in class com.sillysoft.vox.unit.UnitCastle
-
- getDefend() - Method in class com.sillysoft.vox.unit.UnitFlag
-
- getDefend() - Method in class com.sillysoft.vox.unit.UnitKnight
-
- getDefend() - Method in class com.sillysoft.vox.unit.UnitPawn
-
- getDefendersUnitStackGroup(Country) - Method in class com.sillysoft.vox.VoxWorld
-
Return the USG containing all the units that will defend this Country on this turn.
- getDefensibleBorders(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Get the defensible borders of a continent - those that can be used to attack the continent.
- getDefensibleBordersBeyond(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Get the countries beyond the defensible borders of a continent - those that can be used to attack the continent.
- getDejaFontSized(int) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getDenominator(String) - Static method in class com.sillysoft.tools.StringTool
-
- getDimension() - Method in class com.sillysoft.vox.UnitStack
-
- getDimensionOfText(String, FontMetrics) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getDirectoryFromPath(String) - Static method in class com.sillysoft.tools.StringTool
-
Return the directory portion of the path.
- getDominantOwner() - Method in class com.sillysoft.vox.UnitStackGroup
-
- getDrawPoint() - Method in class com.sillysoft.vox.UnitStack
-
- getEditorString(String) - Static method in class com.sillysoft.tools.Translator
-
Get the value for the given key in a currently loaded locale and the default bundle.
- getEllipsePoints(int, int, double, double, int) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getEnemyArmiesInContinent(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
this method calculates the number of armies owned by anyone who is NOT
player in continent.
- getEnemyBorders(Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
- getFilenameFromPath(String) - Static method in class com.sillysoft.tools.StringTool
-
return the filename portion of the path.
- getFriendlyAdjoiningCodeList() - Method in class com.sillysoft.lux.Country
-
Return an int array containing the country codes of all the neigbors of this country that are owned by the same player.
- getFrontBase() - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return the base closest to the front lines.
- getFrontBaseSafe() - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return a base close to the front lines that isn't in danger this turn.
- getGeneralPathFromXML(String) - Static method in class com.sillysoft.tools.GraphicsTool
-
Take a String with one or more 'polygon' tag and returns the GeneralPath it creates.
- getGeneralPathXML(GeneralPath, int) - Static method in class com.sillysoft.tools.GraphicsTool
-
Give an XML representation of the given GeneralPath (and flipping the y values of points).
- getHeight() - Method in interface com.sillysoft.vox.Unit
-
- getHeight() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getHeight() - Method in class com.sillysoft.vox.UnitStack
-
- getHeightForSize(String) - Static method in class com.sillysoft.lux.RandomMapGenerator
-
- getHistory() - Method in class com.sillysoft.lux.util.CountryPath
-
- getHostileAdjoiningCodeList() - Method in class com.sillysoft.lux.Country
-
Return an int array containing the country codes of all the countries that this country can attack.
- getHostileCountries(int, List) - Static method in class com.sillysoft.lux.util.CountryClusterSet
-
Get the set of clusters that contain all the countries in 'startingCountries' as well as all connecting countries that are hostile to the given owner.
- getID() - Method in class com.sillysoft.vox.Continent
-
- getID() - Method in class com.sillysoft.vox.Country
-
- getID() - Method in interface com.sillysoft.vox.IDable
-
- getID() - Method in class com.sillysoft.vox.Player
-
- getImageFilename() - Method in interface com.sillysoft.vox.Unit
-
- getImageFilename() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getImageFilename() - Method in class com.sillysoft.vox.unit.UnitCastle
-
- getImageFilename() - Method in class com.sillysoft.vox.unit.UnitFlag
-
- getImageFilename() - Method in class com.sillysoft.vox.unit.UnitKnight
-
- getImageFilename() - Method in class com.sillysoft.vox.unit.UnitPawn
-
- getImageFilename() - Method in class com.sillysoft.vox.UnitStack
-
- getImageFromJAR(String) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getImageIconNamed(String) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getIncome(Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
- getInt(Object) - Method in class com.sillysoft.tools.IntegerHashtable
-
- getJLabelWithFont(String, Font) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getLabelLocation() - Method in class com.sillysoft.vox.Continent
-
- getLabelLocation() - Method in class com.sillysoft.vox.Country
-
- getLandingCountryID() - Method in class com.sillysoft.vox.UnitStack
-
- getList() - Method in class com.sillysoft.lux.util.CountryCluster
-
Return a List containing all the Country object that are included in this CountryCluster.
- getListXML(List, String) - Static method in class com.sillysoft.tools.XMLTool
-
Returns the XML serialization of a list of XMLSerializable objects.
- getLocale() - Static method in class com.sillysoft.tools.Translator
-
Return the currently loaded Locale.
- getLuxVersion() - Static method in class com.sillysoft.lux.MapLoader
-
Will return the numeric version number of the running Lux.
- getManagedImage(String) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getManagedImageColored(String, Color, float) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getManagedImageColored(String, Color) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getMapGeneratorPath() - Static method in class com.sillysoft.lux.MapLoader
-
This method gives you the location that LuxMapGenerators are stored.
- getMapPath() - Method in class com.sillysoft.lux.Board
-
Get the location of saved maps.
- getMapTitle() - Method in class com.sillysoft.lux.Board
-
Returns the title of the current map.
- getMiddlePoint(Point2D, Point2D) - Method in class com.sillysoft.lux.RandomMapGenerator
-
Returns the point in between pa and p2.
- getMidpointBetweenShapes(Shape, Shape, Point2D, Point2D) - Static method in class com.sillysoft.tools.GraphicsTool
-
This method returns the a Point between the 2 shapes that is the closest to them both.
- getMostValuableEnemyBorder(Country, int) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return a valuable Enemy neighboring Country within range (max range 2 supported).
- getMostValuableEnemyBorder(Country, int, VoxWorld) - Static method in class com.sillysoft.vox.CountryPathFinder
-
- getMoveableArmies() - Method in class com.sillysoft.lux.Country
-
Returns the number of armies in this Country that may be fortified somewhere else.
- getMovement() - Method in interface com.sillysoft.vox.Unit
-
- getMovement() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getMovement() - Method in class com.sillysoft.vox.unit.UnitCastle
-
- getMovement() - Method in class com.sillysoft.vox.unit.UnitFlag
-
- getMovement() - Method in class com.sillysoft.vox.unit.UnitKnight
-
- getMovement() - Method in class com.sillysoft.vox.unit.UnitPawn
-
- getMovement() - Method in class com.sillysoft.vox.UnitStack
-
- getName() - Method in class com.sillysoft.lux.Country
-
Return the name of the country.
- getName() - Method in class com.sillysoft.vox.Continent
-
- getName() - Method in class com.sillysoft.vox.Country
-
- getName() - Method in class com.sillysoft.vox.Player
-
- getName() - Method in class com.sillysoft.vox.Team
-
- getNext() - Method in class com.sillysoft.lux.util.CountryElement
-
- getNextCardSetValue() - Method in class com.sillysoft.lux.Board
-
Returns the number of armies given by the next card cash.
- getNextColor() - Static method in class com.sillysoft.tools.GraphicsTool
-
This method will generate a series of Color objects with an attempt at making them contrast with each other.
- getNonOpaqueJPanel() - Static method in class com.sillysoft.tools.GraphicsTool
-
- getNonOpaqueJPanel(LayoutManager) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getNukeLevel() - Method in interface com.sillysoft.vox.Unit
-
- getNukeLevel() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getNukeLevel() - Method in class com.sillysoft.vox.UnitStackGroup
-
- getNumberEnemyNeighbors() - Method in class com.sillysoft.lux.Country
-
Returns the number of neighbor countries owned by players that don't own this Country.
- getNumberNeighbors() - Method in class com.sillysoft.lux.Country
-
Returns the number of adjacent countries.
- getNumberNotPlayerNeighbors(int) - Method in class com.sillysoft.lux.Country
-
Returns the number of adjacent countries not owned by player.
- getNumberOfContinents() - Method in class com.sillysoft.lux.Board
-
Returns the number of continents in the game.
- getNumberOfCountries() - Method in class com.sillysoft.lux.Board
-
Returns the number of countries in the game.
- getNumberOffsetX() - Method in interface com.sillysoft.vox.Unit
-
- getNumberOffsetX() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getNumberOffsetY() - Method in interface com.sillysoft.vox.Unit
-
- getNumberOffsetY() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getNumberOfPlayers() - Method in class com.sillysoft.lux.Board
-
Returns the number of players that started in the game.
- getNumberOfPlayers() - Method in class com.sillysoft.vox.VoxWorld
-
- getNumberOfPlayersLeft() - Method in class com.sillysoft.lux.Board
-
Returns the number of players that are still own at least one country.
- getNumberPlayerNeighbors(int) - Method in class com.sillysoft.lux.Country
-
Returns the number of adjacent countries owned by player.
- getNumberPlayerNotNamedNeighbors(String, Board) - Method in class com.sillysoft.lux.Country
-
Returns the number of adjacent countries not owned by an agent named agentName.
- getNumerator(String) - Static method in class com.sillysoft.tools.StringTool
-
- getOriginalCountry(VoxWorld) - Method in class com.sillysoft.vox.UnitStack
-
- getOriginalCountryID() - Method in class com.sillysoft.vox.UnitStack
-
- getOwnedCluster(Country) - Static method in class com.sillysoft.lux.util.CountryCluster
-
Create a CountryCluster made up of every Country that is owned by the owner of 'root' and connected through friendly countries to 'root'.
- getOwnedCluster(Country, boolean) - Static method in class com.sillysoft.lux.util.CountryCluster
-
Create a CountryCluster made up of every Country that is owned by the owner of 'root' and connected through friendly countries to 'root'.
- getOwner() - Method in class com.sillysoft.lux.Country
-
Returns the current owner-code of this Country.
- getOwner() - Method in class com.sillysoft.vox.Country
-
- getOwner() - Method in interface com.sillysoft.vox.Unit
-
- getOwner() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getOwner() - Method in class com.sillysoft.vox.unit.UnitCastle
-
- getOwner() - Method in class com.sillysoft.vox.unit.UnitFlag
-
- getOwner() - Method in class com.sillysoft.vox.unit.UnitKnight
-
- getOwner() - Method in class com.sillysoft.vox.unit.UnitPawn
-
- getOwner() - Method in class com.sillysoft.vox.UnitStack
-
- getPlayer(int) - Method in interface com.sillysoft.vox.CountriesManager
-
- getPlayer(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getPlayerArmies(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
This method calculates the total number of armies owned by player.
- getPlayerArmiesAdjoiningContinent(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Get the number of armies owned by the player that are in countries that directly adjoin the given continent.
- getPlayerArmiesInContinent(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
This method calculates the number of armies owned by player in
continent.
- getPlayerArmyCount(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getPlayerCards(int) - Method in class com.sillysoft.lux.Board
-
Returns the number of cards that the specified player has.
- getPlayerCountries(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
This method calculates the number of countries owned by player.
- getPlayerID() - Method in class com.sillysoft.vox.VoxWorld
-
- getPlayerIncome(int) - Method in class com.sillysoft.lux.Board
-
Returns the current income of the specified player.
- getPlayerIncome(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getPlayerLandCount(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getPlayerMoney(Player) - Method in class com.sillysoft.vox.VoxWorld
-
- getPlayerMoney(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getPlayerName(int) - Method in class com.sillysoft.lux.Board
-
Returns the TextField specified name of the given player.
- getPlayersBiggestArmy(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Returns the country owned by player with the most armies on it.
- getPlayersBiggestArmyWithEnemyNeighbor(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Same as getPlayersBiggestArmy() except it will return the biggest army that has at least one enemy neighbor.
- getRandomBorder(Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return a random neighboring Country.
- getRandomBorder(Country, int) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return a random neighboring Country within range (max range 2).
- getRandomEnemyBorder(Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return a random Enemy neighboring Country.
- getRandomSet(Card[]) - Static method in class com.sillysoft.lux.Card
-
This returns a size-3 Card array, containing a random set from amongst the given array.
- getRealAdjoiningList(Object, Country[]) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
fix? for reported problem of "fake" countries appearing in adjoiningLists.
- getRemainingCarryCapacity() - Method in class com.sillysoft.vox.UnitStack
-
- getRemainingCarryCapacityAir() - Method in class com.sillysoft.vox.UnitStack
-
- getRemainingCarryCapacityMissiles() - Method in class com.sillysoft.vox.UnitStack
-
- getResizePercentToFitInsideDimension(int, int, double, double) - Static method in class com.sillysoft.tools.GraphicsTool
-
Get the resize percentage to fit the starting dimension size into the fitInto dimension size, while maintaining the width:height ratio.
- getScaledInstance(BufferedImage, int, int, Object, boolean) - Static method in class com.sillysoft.tools.GraphicsTool
-
Convenience method that returns a scaled instance of the
provided BufferedImage
.
- getScenarioPlayerCountForSize(String) - Method in class com.sillysoft.lux.RandomMapGenerator
-
- getShortString() - Method in interface com.sillysoft.vox.Unit
-
- getShortString() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getShortString() - Method in class com.sillysoft.vox.unit.UnitFlag
-
- getShortString() - Method in class com.sillysoft.vox.unit.UnitKnight
-
- getShortString() - Method in class com.sillysoft.vox.unit.UnitPawn
-
- getSimpleRoute() - Method in class com.sillysoft.lux.util.CountryCluster
-
A possibly very slow method to get a CountryRoute that traverses through all the countries in the cluster.
- getSimpleRoute(boolean) - Method in class com.sillysoft.lux.util.CountryCluster
-
Same as getSimpleRoute() but a speed optimization can be made if the cluster is all owned by one player.
- getSimpleRoute(boolean, int) - Method in class com.sillysoft.lux.util.CountryCluster
-
Same as getSimpleRoute(boolean optimizeForSingleOwner) but a speed optimization can be made assuming the goal is for a specific player to kill the entire found route.
- getSimpleRouteStartingAt(Country) - Method in class com.sillysoft.lux.util.CountryCluster
-
Try and get a Route through the cluster that starts at the given country.
- getSmallestEmptyCont(Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Returns the cont-code of the smallest continent that is totally empty, or
-1 if there are no unowned conts.
- getSmallestOpenCont(Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
-
Returns the cont-code of the smallest continent that has at least one
unowned country.
- getSmallestPositiveEmptyCont(Country[], Board) - Static method in class com.sillysoft.lux.util.BoardHelper
-
This method is the same as getSmallestEmptyCont() except it only
considers continents that have bonus values of greater than zero.
- getSmallestPositiveOpenCont(Country[], Board) - Static method in class com.sillysoft.lux.util.BoardHelper
-
This method is the same as getSmallestOpenCont() except it only considers
continents that have a bonus of greater than zero.
- getSortedKeys() - Method in class com.sillysoft.tools.IntegerHashtable
-
- getSpecialString() - Method in interface com.sillysoft.vox.Unit
-
- getSpecialString() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getStackTrace(Throwable) - Static method in class com.sillysoft.tools.SS
-
Return the stack trace of the Throwable object in a String.
- getString(String) - Static method in class com.sillysoft.tools.Translator
-
Get the value for the given key in a currently loaded locale and the default bundle.
- getStrongestBase() - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return the base with the most defenders.
- getStrongestNeighborOwnedBy(int) - Method in class com.sillysoft.lux.Country
-
Returns a reference to the neighbor that is owned by 'player' with the most number of armies on it.
- getStrongestNeighborOwnedBy(int) - Method in class com.sillysoft.lux.util.CountryCluster
-
Return a country that borders the cluster and is owned by ownerID.
- getSymbol() - Method in class com.sillysoft.lux.Card
-
Returns the symbol on the card.
- getSymbol() - Method in class com.sillysoft.vox.Team
-
- getSymbolFont() - Static method in class com.sillysoft.tools.GraphicsTool
-
- getSymbolFontForBonus(Graphics2D, int) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getTeam() - Method in class com.sillysoft.vox.Country
-
- getTeam() - Method in class com.sillysoft.vox.Player
-
- getTeam() - Method in class com.sillysoft.vox.UnitStack
-
- getTeam() - Method in class com.sillysoft.vox.UnitStackGroup
-
- getTeam(int) - Method in class com.sillysoft.vox.VoxWorld
-
- getTeamOwner(List) - Method in class com.sillysoft.vox.Continent
-
- getThickArrowPolygon(Point, Point) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getThickArrowPolygon(int, int, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
-
- getTotalUnitCount() - Method in class com.sillysoft.vox.UnitStackGroup
-
- getTransportWeight() - Method in class com.sillysoft.vox.UnitStackGroup
-
- getTurnCount() - Method in class com.sillysoft.lux.Board
-
Return the count of the turn rounds for the game
- getTurnSecondsLeft() - Method in class com.sillysoft.lux.Board
-
Return the number of seconds left in this turn.
- getType() - Method in interface com.sillysoft.vox.Unit
-
- getType() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getType() - Method in class com.sillysoft.vox.unit.UnitCastle
-
- getType() - Method in class com.sillysoft.vox.unit.UnitFlag
-
- getType() - Method in class com.sillysoft.vox.unit.UnitKnight
-
- getType() - Method in class com.sillysoft.vox.unit.UnitPawn
-
- getUnit() - Method in class com.sillysoft.vox.UnitStack
-
- getUnitAttack() - Method in class com.sillysoft.vox.UnitStack
-
- getUnitDefend() - Method in class com.sillysoft.vox.UnitStack
-
- getUnitStackGroup() - Method in class com.sillysoft.vox.Country
-
- getUnitStackMatching(UnitStack) - Method in class com.sillysoft.vox.Country
-
This will return the UnitStack that matches the type and player of the given one.
- getValue() - Method in class com.sillysoft.lux.util.CountryElement
-
- getWeakestBase() - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
Return the base with the least defenders.
- getWeakestEnemyNeighbor() - Method in class com.sillysoft.lux.Country
-
Returns a reference to the weakest neighbor that is owned by another player, or null if there are no enemy neighbors.
- getWeakestEnemyNeighborInContinent(int) - Method in class com.sillysoft.lux.Country
-
Operates like getWeakestEnemyNeighbor but limits its search to the given continent.
- getWidth() - Method in interface com.sillysoft.vox.Unit
-
- getWidth() - Method in class com.sillysoft.vox.unit.UnitAbstract
-
- getWidth() - Method in class com.sillysoft.vox.UnitStack
-
- getWidthForSize(String) - Static method in class com.sillysoft.lux.RandomMapGenerator
-
- getWorld() - Method in interface com.sillysoft.vox.CountriesManager
-
- getXML(int) - Method in class com.sillysoft.tools.ExtraLine
-
- Grabby - Class in com.sillysoft.vox.agent
-
Grabby uses knights to attack high-value countries.
- Grabby() - Constructor for class com.sillysoft.vox.agent.Grabby
-
- GraphicsTool - Class in com.sillysoft.tools
-
- GraphicsTool() - Constructor for class com.sillysoft.tools.GraphicsTool
-
- sameSubnetIP(String, String) - Static method in class com.sillysoft.tools.StringTool
-
- saveBoard(PrintWriter, String) - Method in class com.sillysoft.lux.RandomMapGenerator
-
- saveComponentAsJPEG(Component, String, boolean, int, int, boolean) - Static method in class com.sillysoft.tools.GraphicsTool
-
Save a component into a JPEG.
- saveComponentAsMiniPNG(Component, String, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
-
- saveComponentAsPNG(Component, String, boolean, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
-
- sendChat(String) - Method in class com.sillysoft.lux.Board
-
Send a chat using the agent type (ie Cluster) as the name.
- sendChat(String, LuxAgent) - Method in class com.sillysoft.lux.Board
-
Send a chat using the agent name (ie dustin) as the name.
- sendChat(String) - Method in class com.sillysoft.vox.VoxWorld
-
- sendEmote(String) - Method in class com.sillysoft.lux.Board
-
Send an emote using the agent type (ie Cluster) as the name.
- sendEmote(String, LuxAgent) - Method in class com.sillysoft.lux.Board
-
Send an emote using the agent name (ie dustin) as the name.
- serialize(Serializable) - Static method in class com.sillysoft.tools.StringTool
-
Return the serializable form of this object in a String.
- serializeToBytes(Serializable) - Static method in class com.sillysoft.tools.StringTool
-
- setAgentType(String) - Method in class com.sillysoft.vox.Player
-
- setArmies(int, Object) - Method in class com.sillysoft.lux.Country
-
Sets the number of armies on the Country, as long as the passkey object is the same as supplied in the constructor.
- setContinentCode(int, Object) - Method in class com.sillysoft.lux.Country
-
Sets the continent code of the Country, as long as the passkey object is the same as supplied in the constructor.
- setCount(int) - Method in class com.sillysoft.vox.UnitStack
-
- setDrawPoint(Point) - Method in class com.sillysoft.vox.UnitStack
-
- setExcited(boolean) - Method in class com.sillysoft.vox.UnitStack
-
- setLandingCountry(Country) - Method in class com.sillysoft.vox.UnitStack
-
- setLandingCountry(int) - Method in class com.sillysoft.vox.UnitStack
-
- setLandingCountry(Country) - Method in class com.sillysoft.vox.UnitStackGroup
-
- setLoadText(String) - Method in class com.sillysoft.lux.MapLoader
-
An optional method for informing the user during lengthy operations.
- setName(String, Object) - Method in class com.sillysoft.lux.Country
-
Set the name of the Country.
- setNext(CountryElement) - Method in class com.sillysoft.lux.util.CountryElement
-
- setOriginalCountry(Country) - Method in class com.sillysoft.vox.UnitStack
-
- setOriginalCountry(Country) - Method in class com.sillysoft.vox.UnitStackGroup
-
- setOwner(int, Object) - Method in class com.sillysoft.lux.Country
-
Sets the owner code of the Country, as long as the passkey object is the same as supplied in the constructor.
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.Angry
-
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.BlankAgent
-
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.Boring
-
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.Chimera
-
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.Empty
-
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.Killbot
-
- setPrefs(int, Board) - Method in interface com.sillysoft.lux.agent.LuxAgent
-
At the start of the game your agent will be constructed and then the setPrefs() method will be called.
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.Noisy
-
Tests the chat-sending capabilities.
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.SmartAgentBase
-
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.Stinky
-
- setPrefs(int, Board) - Method in class com.sillysoft.lux.agent.Vulture
-
- setPrefs(int, VoxWorld) - Method in class com.sillysoft.vox.agent.Boring
-
- setPrefs(int, VoxWorld) - Method in class com.sillysoft.vox.agent.Human
-
- setPrefs(int, VoxWorld) - Method in interface com.sillysoft.vox.agent.VoxAgent
-
At the start of the game your agent will be constructed and then the setPrefs() method will be called.
- setPrefs(int, VoxWorld) - Method in class com.sillysoft.vox.agent.VoxAgentBase
-
- setShowDebugLevel(int) - Static method in class com.sillysoft.tools.SS
-
0 for no debugging, 10 for everything.
- Shaft - Class in com.sillysoft.lux.agent
-
- Shaft() - Constructor for class com.sillysoft.lux.agent.Shaft
-
- showDebugLevel - Static variable in class com.sillysoft.tools.SS
-
- size() - Method in class com.sillysoft.lux.util.CountryCluster
-
Get a count of the number of countries in this cluster.
- size() - Method in class com.sillysoft.lux.util.CountryClusterSet
-
Return the number of Clusters in this set.
- size() - Method in class com.sillysoft.lux.util.CountryElement
-
- size() - Method in class com.sillysoft.lux.util.CountryRoute
-
The number of Country's in this route.
- size() - Method in class com.sillysoft.lux.util.CountryStack
-
- size() - Method in class com.sillysoft.vox.UnitStackGroup
-
- SmartAgentBase - Class in com.sillysoft.lux.agent
-
- SmartAgentBase() - Constructor for class com.sillysoft.lux.agent.SmartAgentBase
-
- solid(Color) - Static method in class com.sillysoft.tools.GraphicsTool
-
- splitOffGroup(int) - Method in class com.sillysoft.vox.UnitStack
-
- SS - Class in com.sillysoft.tools
-
- SS() - Constructor for class com.sillysoft.tools.SS
-
- start() - Method in class com.sillysoft.lux.util.CountryRoute
-
- Stinky - Class in com.sillysoft.lux.agent
-
- Stinky() - Constructor for class com.sillysoft.lux.agent.Stinky
-
- storageGet(String, String) - Method in class com.sillysoft.lux.Board
-
Retrieve a string from persistant storage based on the given key.
- storageGetBoolean(String, boolean) - Method in class com.sillysoft.lux.Board
-
Retrieve a boolean from persistant storage based on the given key.
- storageGetFloat(String, float) - Method in class com.sillysoft.lux.Board
-
Retrieve a float from persistant storage based on the given key.
- storageGetInt(String, int) - Method in class com.sillysoft.lux.Board
-
Retrieve an int from persistant storage based on the given key.
- storagePut(String, String) - Method in class com.sillysoft.lux.Board
-
Save a string associated with the given key into persistant storage.
- storagePutBoolean(String, boolean) - Method in class com.sillysoft.lux.Board
-
Save a boolean associated with the given key into persistant storage.
- storagePutFloat(String, float) - Method in class com.sillysoft.lux.Board
-
Save a float associated with the given key into persistant storage.
- storagePutInt(String, int) - Method in class com.sillysoft.lux.Board
-
Save an int associated with the given key into persistant storage.
- storageRemoveKey(String) - Method in class com.sillysoft.lux.Board
-
Remove any value from persistant storage associated with the given key.
- stringFromColor(Color) - Static method in class com.sillysoft.tools.GraphicsTool
-
- stringFromGeneralPath(GeneralPath) - Static method in class com.sillysoft.tools.GraphicsTool
-
Give a String representation of the given GeneralPath.
- stringFromGeneralPath(GeneralPath, int) - Static method in class com.sillysoft.tools.GraphicsTool
-
Give a String representation of the given GeneralPath with a flipped Y.
- stringFromPoint(Point) - Static method in class com.sillysoft.tools.GraphicsTool
-
- StringTool - Class in com.sillysoft.tools
-
- StringTool() - Constructor for class com.sillysoft.tools.StringTool
-
- stripGzip(String) - Static method in class com.sillysoft.tools.StringTool
-
Strip the '.gz' suffix off of a string (if it is present).
- stripLastChar(String) - Static method in class com.sillysoft.tools.StringTool
-
Removes the last char from the string.
- stripLastDotWord(String) - Static method in class com.sillysoft.tools.StringTool
-
Removes the last period and everything after it.
- stripLastWord(String) - Static method in class com.sillysoft.tools.StringTool
-
Removes the last word and its preceding space from the string.
- stripSpaces(String) - Static method in class com.sillysoft.tools.StringTool
-
Takes a string and returns a string by removing all the spaces (e.g.
- stripTrailingDots(String) - Static method in class com.sillysoft.tools.StringTool
-
Takes a string and returns a string by removing any periods at the end (e.g.
- stripTrailingNumbers(String) - Static method in class com.sillysoft.tools.StringTool
-
Takes a string and returns a string by removing any numbers at the end (e.g.
- sum(int[]) - Static method in class com.sillysoft.tools.ArrayTool
-