Skip navigation links
A B C D E F G H I K L M N O P Q R S T U V W X Y 

A

above - Variable in class com.sillysoft.tools.ExtraLine
 
add(UnitStack) - Method in class com.sillysoft.vox.UnitStackGroup
 
add(UnitStackGroup) - Method in class com.sillysoft.vox.UnitStackGroup
 
addArmy(Object) - Method in class com.sillysoft.lux.Country
Adds one to the army count of the the Country, as long as the passkey object is the same as supplied in the constructor.
addCarry(UnitStack) - Method in class com.sillysoft.vox.UnitStack
 
addCarry(UnitStackGroup) - Method in class com.sillysoft.vox.UnitStack
 
addOne() - Method in class com.sillysoft.vox.UnitStack
 
addToAdjoiningList(Country, Object) - Method in class com.sillysoft.lux.Country
Add a connection from this Country object to the destinationCountry object.
addToAdjoiningListBoth(Country, Object) - Method in class com.sillysoft.lux.Country
Add a 2-way connection between this Country object and the otherCountry object.
AI1 - Class in com.sillysoft.vox.agent
 
AI1() - Constructor for class com.sillysoft.vox.agent.AI1
 
AI2 - Class in com.sillysoft.vox.agent
 
AI2() - Constructor for class com.sillysoft.vox.agent.AI2
 
AI3 - Class in com.sillysoft.vox.agent
 
AI3() - Constructor for class com.sillysoft.vox.agent.AI3
 
alignSongSheet(String) - Static method in class com.sillysoft.tools.StringTool
Given lines: A B C D returns: AC BD
Angry - Class in com.sillysoft.lux.agent
Angry is a simplistic agent that attacks lots.
Angry() - Constructor for class com.sillysoft.lux.agent.Angry
 
Angry - Class in com.sillysoft.vox.agent
Angry attacks lots.
Angry() - Constructor for class com.sillysoft.vox.agent.Angry
 
anyPlayerOwnsContinent(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
Checks whether or not any player fully owns continent.
append(CountryRoute) - Method in class com.sillysoft.lux.util.CountryRoute
Append the given CountryRoute onto the end of this one and return the result.
ArmiesIterator - Class in com.sillysoft.lux.util
An Iterator of all the Countries with more than minArmies armies that is owned by player.
ArmiesIterator(int, int, Country[]) - Constructor for class com.sillysoft.lux.util.ArmiesIterator
 
arrangeRects(Rectangle[], Rectangle, int) - Static method in class com.sillysoft.tools.GraphicsTool
Move any rectangles that overlap.
arrangeRects(Rectangle[], Rectangle, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
 
arrayContains(String[], String) - Static method in class com.sillysoft.tools.ArrayTool
Does this array contain the given key?
arrayContains(int[], int) - Static method in class com.sillysoft.tools.ArrayTool
Does this array contain the given key?
arrayIndex(String[], String) - Static method in class com.sillysoft.tools.ArrayTool
Return the index of the given key inside the array or -1 if the array does not contain the key.
ArrayTool - Class in com.sillysoft.tools
 
ArrayTool() - Constructor for class com.sillysoft.tools.ArrayTool
 
attack(Country, Country, boolean) - Method in class com.sillysoft.lux.Board
If attackTillDead is true then perform attacks until one side or the other has been defeated.
attack(int, int, boolean) - Method in class com.sillysoft.lux.Board
If attackTillDead is true then perform attacks until one side or the other has been defeated.
attackPhase() - Method in class com.sillysoft.lux.agent.Angry
 
attackPhase() - Method in class com.sillysoft.lux.agent.BetterPixie
 
attackPhase() - Method in class com.sillysoft.lux.agent.BlankAgent
 
attackPhase() - Method in class com.sillysoft.lux.agent.Boring
 
attackPhase() - Method in class com.sillysoft.lux.agent.Chimera
 
attackPhase() - Method in class com.sillysoft.lux.agent.Cluster
 
attackPhase() - Method in class com.sillysoft.lux.agent.Communist
 
attackPhase() - Method in class com.sillysoft.lux.agent.Defendo
 
attackPhase() - Method in class com.sillysoft.lux.agent.Empty
 
attackPhase() - Method in class com.sillysoft.lux.agent.EvilPixie
 
attackPhase() - Method in interface com.sillysoft.lux.agent.LuxAgent
The attackPhase method is called at the start of the agent's attack-phase (duh).
attackPhase() - Method in class com.sillysoft.lux.agent.Noisy
 
attackPhase() - Method in class com.sillysoft.lux.agent.Pixie
 
attackPhase() - Method in class com.sillysoft.lux.agent.Quo
 
attackPhase() - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
attackPhase() - Method in class com.sillysoft.lux.agent.Stinky
 
attackPhase(boolean) - Method in class com.sillysoft.lux.agent.Stinky
 
attackPhase() - Method in class com.sillysoft.lux.agent.Trotsky
 
attackPhase() - Method in class com.sillysoft.lux.agent.Vulture
 
attackPhase() - Method in class com.sillysoft.lux.agent.Yakool
 

B

beep() - Static method in class com.sillysoft.tools.SS
 
BetterPixie - Class in com.sillysoft.lux.agent
 
BetterPixie() - Constructor for class com.sillysoft.lux.agent.BetterPixie
 
BlankAgent - Class in com.sillysoft.lux.agent
 
BlankAgent() - Constructor for class com.sillysoft.lux.agent.BlankAgent
 
Board - Class in com.sillysoft.lux
The Board is the connection between the game world and agents.
Board() - Constructor for class com.sillysoft.lux.Board
 
BoardHelper - Class in com.sillysoft.lux.util
This class is a collection of static methods for getting information out of a set of countries.
BoardHelper() - Constructor for class com.sillysoft.lux.util.BoardHelper
 
Boring - Class in com.sillysoft.lux.agent
 
Boring() - Constructor for class com.sillysoft.lux.agent.Boring
 
Boring - Class in com.sillysoft.vox.agent
 
Boring() - Constructor for class com.sillysoft.vox.agent.Boring
 
Bort - Class in com.sillysoft.lux.agent
Bort expands slower than Boscoe does.
Bort() - Constructor for class com.sillysoft.lux.agent.Bort
 
Boscoe - Class in com.sillysoft.lux.agent
Boscoe is Yakool with a slowed down attack strategy (he only does tripleAttackPack and card-getting attacks)
Boscoe() - Constructor for class com.sillysoft.lux.agent.Boscoe
 
Bubbles - Class in com.sillysoft.vox.agent
Bubbles splits up all his units evenly, sort of like a Communist bot.
Bubbles() - Constructor for class com.sillysoft.vox.agent.Bubbles
 
buyCastle() - Method in class com.sillysoft.vox.agent.VoxAgentBase
Try to build a castle.
buyHalfKnights(int, Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
Spend half the money on Knights, then max out pawns
buyKnights(int, Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
 
buyPawns(int, Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
 
buyUnits(int) - Method in class com.sillysoft.vox.agent.Bubbles
 
buyUnits(int) - Method in class com.sillysoft.vox.agent.Human
 
buyUnits(int) - Method in class com.sillysoft.vox.agent.VoxAgentBase
 
buyUnits22(int, Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
Buy 2 men, then 2 knights - as much as we can
buyUnitsAlternating(int, Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
Buy 1 men, then 1 knight - as much as we can

C

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.

D

debug(Object) - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
debug(Object, int) - Static method in class com.sillysoft.tools.SS
Print debug test with importance level
debug(Object) - Static method in class com.sillysoft.tools.SS
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.AI1
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.AI2
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.AI3
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Angry
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Boring
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Bubbles
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Earl
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Grabby
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Holdem
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Human
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Kodos
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.Quirky
 
declareMoves(Country[]) - Method in interface com.sillysoft.vox.agent.VoxAgent
Each turn this method is called for the agent to send his moves to the VoxWorld.
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.VoxAgentBase
 
declareMoves(Country[]) - Method in class com.sillysoft.vox.agent.wandering
 
Defendo - Class in com.sillysoft.lux.agent
 
Defendo() - Constructor for class com.sillysoft.lux.agent.Defendo
 
description() - Method in class com.sillysoft.lux.agent.Angry
 
description() - Method in class com.sillysoft.lux.agent.BetterPixie
 
description() - Method in class com.sillysoft.lux.agent.BlankAgent
 
description() - Method in class com.sillysoft.lux.agent.Boring
 
description() - Method in class com.sillysoft.lux.agent.Bort
 
description() - Method in class com.sillysoft.lux.agent.Boscoe
 
description() - Method in class com.sillysoft.lux.agent.Chimera
 
description() - Method in class com.sillysoft.lux.agent.Cluster
 
description() - Method in class com.sillysoft.lux.agent.Communist
 
description() - Method in class com.sillysoft.lux.agent.Defendo
 
description() - Method in class com.sillysoft.lux.agent.Empty
 
description() - Method in class com.sillysoft.lux.agent.EvilPixie
 
description() - Method in class com.sillysoft.lux.agent.HumanFriendly
 
description() - Method in class com.sillysoft.lux.agent.Killbot
 
description() - Method in interface com.sillysoft.lux.agent.LuxAgent
A description of your agent.
description() - Method in class com.sillysoft.lux.agent.Noisy
 
description() - Method in class com.sillysoft.lux.agent.Pixie
 
description() - Method in class com.sillysoft.lux.agent.Quo
 
description() - Method in class com.sillysoft.lux.agent.Shaft
 
description() - Method in class com.sillysoft.lux.agent.Stinky
 
description() - Method in class com.sillysoft.lux.agent.Trotsky
 
description() - Method in class com.sillysoft.lux.agent.Vulture
 
description() - Method in class com.sillysoft.lux.agent.Yakool
 
description() - Method in class com.sillysoft.lux.ExternalMapGenerator
 
description() - Method in class com.sillysoft.lux.Gemisys
 
description() - Method in interface com.sillysoft.lux.LuxMapGenerator
A description of your generator.
description() - Method in class com.sillysoft.lux.RandomMapGenerator
 
description() - Method in class com.sillysoft.lux.Terrorism
 
description() - Method in class com.sillysoft.lux.TerrorismOps
 
description() - Method in class com.sillysoft.vox.agent.AI1
 
description() - Method in class com.sillysoft.vox.agent.AI2
 
description() - Method in class com.sillysoft.vox.agent.AI3
 
description() - Method in class com.sillysoft.vox.agent.Angry
 
description() - Method in class com.sillysoft.vox.agent.Boring
 
description() - Method in class com.sillysoft.vox.agent.Bubbles
 
description() - Method in class com.sillysoft.vox.agent.Earl
 
description() - Method in class com.sillysoft.vox.agent.Grabby
 
description() - Method in class com.sillysoft.vox.agent.Holdem
 
description() - Method in class com.sillysoft.vox.agent.Human
 
description() - Method in class com.sillysoft.vox.agent.Kodos
 
description() - Method in class com.sillysoft.vox.agent.Quirky
 
description() - Method in interface com.sillysoft.vox.agent.VoxAgent
A description of your agent.
description() - Method in class com.sillysoft.vox.agent.VoxAgentBase
 
description() - Method in class com.sillysoft.vox.agent.wandering
 
deserialize(String) - Static method in class com.sillysoft.tools.StringTool
 
deserializeBytes(byte[]) - Static method in class com.sillysoft.tools.StringTool
 
diceSize - Static variable in class com.sillysoft.vox.UnitStack
 
directionToEnemy(Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
Calculate the direction to go from here to get to the closest enemy country.
distanceBetweenLand(Country, Country) - Method in class com.sillysoft.vox.CountryPathFinder
 
distanceFromPointToGeneralPath(Point, GeneralPath) - Static method in class com.sillysoft.tools.GraphicsTool
Return the distance the given point is to the closest segment of the GeneralPath.
distanceFromPointToGeneralPath(Point2D, GeneralPath) - Static method in class com.sillysoft.tools.GraphicsTool
Return the distance the given point is to the closest segment of the GeneralPath.
distanceFromPointToRect(Point2D, Rectangle) - Static method in class com.sillysoft.tools.GraphicsTool
Return the distance the given point is to the closest segment of the Rectangle.
distanceToEnemy(Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
Calculate the shortest distance to an enemy country.
distanceToEnemy(Country) - Static method in class com.sillysoft.vox.CountryPathFinder
 
distanceToPoint(Point) - Method in class com.sillysoft.tools.ExtraLine
 
draw(Graphics2D) - Method in class com.sillysoft.tools.ExtraLine
 
draw(Graphics2D, String) - Method in class com.sillysoft.vox.UnitStack
 
drawArrow(Graphics2D, int, int, int, int, float, float) - Static method in class com.sillysoft.tools.GraphicsTool
Draw an arrow.
drawArrowBetweenPoints(Graphics2D, Point2D, Point2D, boolean, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawArrowImage(Graphics2D, double, double, double) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawArrowImageConnectingPoints(Graphics2D, Point, Point, boolean) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawArrowImageConnectingShapes(Graphics2D, Shape, Shape, boolean) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawArrowImageDouble(Graphics2D, double, double, double) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawAt(Graphics2D, Point, String) - Method in class com.sillysoft.vox.UnitStack
 
drawBoxedString(Graphics2D, String, int, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
Draw a string (using the font set in the Graphics object) inside of a box, centered at the given co-ordinants, with the given padding on all sides.
drawBoxedString(Graphics2D, String, int, int, int, Color, int) - Static method in class com.sillysoft.tools.GraphicsTool
Draw the given text (using the font set in the Graphics object) centered at the point (centeredAtX, centeredAtY) along with a box that contains it.
drawBoxedString(Graphics2D, String, int, int, int, int, Color, Color, int) - Static method in class com.sillysoft.tools.GraphicsTool
An upgrading drawBoxedString where it is possible to use a different X and Y padding values, and to specify the color of the box insides.
drawBoxedString(Graphics2D, String, int, int, int, int, Color, Color, int, Color) - Static method in class com.sillysoft.tools.GraphicsTool
An upgrading drawBoxedString where it is possible to use a different X and Y padding values, and to specify the color of the box insides.
drawBoxedStringCorneredAt(Graphics2D, String, int, int, int, int, Color, Color, int, Color, boolean) - Static method in class com.sillysoft.tools.GraphicsTool
This method is like drawBoxedString, except the specified co-ordinates are the top left corner of where the box should be drawn.
drawBubbleNumber(Graphics2D) - Method in class com.sillysoft.vox.UnitStack
 
drawBubbleNumber(Graphics2D, int, int) - Method in class com.sillysoft.vox.UnitStack
 
drawCenteredAtWithBubble(Graphics2D, Point, String) - Method in class com.sillysoft.vox.UnitStack
 
drawDoubleArrowConnectingShapes(Graphics2D, Shape, Shape, boolean) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawDoubleArrowConnectingShapesBAD(Graphics2D, Shape, Shape) - Static method in class com.sillysoft.tools.GraphicsTool
This version uses the basket of points approach using the getMidpointBetweenShapes() method.
drawEngravedString(Graphics2D, String, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawHalfSizeCentered(Graphics2D, Point, String) - Method in class com.sillysoft.vox.UnitStack
 
drawHelperText(Graphics2D, String, int) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawLines(Graphics2D, List, Color) - Static method in class com.sillysoft.tools.GraphicsTool
Draw a collection of ExtraLines using their width and color.
drawOutlinedString(Graphics2D, String, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawShadowedString(Graphics2D, String, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawThickArrow(Graphics2D, int, int, int, int) - Static method in class com.sillysoft.tools.GraphicsTool
 
drawTwoThirdsCentered(Graphics2D, Point, String) - Method in class com.sillysoft.vox.UnitStack
 

E

Earl - Class in com.sillysoft.vox.agent
 
Earl() - Constructor for class com.sillysoft.vox.agent.Earl
 
easyCostBetweenCountries(Country, Country, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method finds the easyest path from country CCF (CCFrom) to CCT (CCTo), that doesn't cross a country owned by CCF's owner.
easyCostBetweenCountries(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method finds the easyest path from country CCF (CCFrom) to CCT (CCTo), that doesn't cross a country owned by CCF's owner.
easyCostCountryWithOwner(Country, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method searches for the country owned by owner that has the easiest path to get to country CC.
easyCostCountryWithOwner(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method searches for the country owned by owner that has the easiest path to get to country CC.
easyCostFromCountryToContinent(Country, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method returns a Country[] containing a list from country CCF to some country in continent, along the easiest path.
easyCostFromCountryToContinent(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method returns an int[] containing a list from country CCF to some country in continent, along the easiest path.
Empty - Class in com.sillysoft.lux.agent
 
Empty() - Constructor for class com.sillysoft.lux.agent.Empty
 
encodeSpaces(String) - Static method in class com.sillysoft.tools.StringTool
Turn all spaces into the HTML encoded %20.
end() - Method in class com.sillysoft.lux.util.CountryRoute
 
equals(Object) - Method in class com.sillysoft.lux.Card
The way this method is implemented all wildcards are equal to each other!!!
equals(Object) - Method in class com.sillysoft.vox.Continent
 
equals(Object) - Method in class com.sillysoft.vox.Country
 
equals(Object) - Method in class com.sillysoft.vox.Player
 
equals(Object) - Method in class com.sillysoft.vox.Team
 
equals(Object) - Method in class com.sillysoft.vox.UnitStack
 
equalsIgnoringOriginalCountry(Object) - Method in class com.sillysoft.vox.UnitStack
 
estimatedNumberOfArmiesNeededToConquer() - Method in class com.sillysoft.lux.util.CountryCluster
 
EvilPixie - Class in com.sillysoft.lux.agent
 
EvilPixie() - Constructor for class com.sillysoft.lux.agent.EvilPixie
 
expiresAfterAttack() - Method in interface com.sillysoft.vox.Unit
 
expiresAfterAttack() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
expiresAfterAttack() - Method in class com.sillysoft.vox.UnitStack
 
ExternalMapGenerator - Class in com.sillysoft.lux
 
ExternalMapGenerator() - Constructor for class com.sillysoft.lux.ExternalMapGenerator
 
extract(String, String) - Static method in class com.sillysoft.tools.XMLTool
Extract the the value of the first tag.
extract(String, String, int) - Static method in class com.sillysoft.tools.XMLTool
Extract the the value inside the n'th tag.
extractAttribute(String, String) - Static method in class com.sillysoft.tools.XMLTool
Pull out the value of an attribute in the XML content (should be a single node).
extractContained(String, String, int) - Static method in class com.sillysoft.tools.XMLTool
Extract the the value inside the n'th tag.
extractFull(String, String, int) - Static method in class com.sillysoft.tools.XMLTool
Sample input contents: Sample output: extractFull("team", contents, 0) =
extractInt(String, String) - Static method in class com.sillysoft.tools.XMLTool
Extract the the value of the first tag and parse it as an integer.
ExtraLine - Class in com.sillysoft.tools
 
ExtraLine(String) - Constructor for class com.sillysoft.tools.ExtraLine
 
ExtraLine(Point, Point, int, Color, boolean) - Constructor for class com.sillysoft.tools.ExtraLine
 

F

fileToString(String) - Static method in class com.sillysoft.tools.StringTool
 
flashing - Variable in class com.sillysoft.vox.Continent
 
flipPointStringY(String, int) - Static method in class com.sillysoft.tools.GraphicsTool
Take a String describing a point and return another string of the same point, but with the Y value flipped.
flipY(int) - Method in class com.sillysoft.tools.ExtraLine
 
flipY(GeneralPath, int) - Static method in class com.sillysoft.tools.GraphicsTool
Take a GeneralPath and flip it vertically based on the given height.
fortifyArmies(int, Country, Country) - Method in class com.sillysoft.lux.Board
Order a fortification move.
fortifyArmies(int, int, int) - Method in class com.sillysoft.lux.Board
Order a fortification move.
fortifyPhase() - Method in class com.sillysoft.lux.agent.Angry
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.BetterPixie
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.BlankAgent
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Boring
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Chimera
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Cluster
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Communist
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Defendo
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Empty
 
fortifyPhase() - Method in interface com.sillysoft.lux.agent.LuxAgent
The last phase of the turn is for fortifying your armies into neighboring countries.
fortifyPhase() - Method in class com.sillysoft.lux.agent.Noisy
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Pixie
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Stinky
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Trotsky
 
fortifyPhase() - Method in class com.sillysoft.lux.agent.Vulture
 
friendlyPathBetweenCountries(Country, Country, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method finds the shortest path (in terms of countries) from country CF (CFrom) to CT (CTo), that ONLY goes through countries owned by CF's owner.
friendlyPathBetweenCountries(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method finds the shortest path (in terms of countries) from country CCF (CCFrom) to CCT (CCTo), that ONLY goes through countries owned by CCF's owner.
from() - Method in class com.sillysoft.tools.ExtraLine
 

G

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
 

H

HALF_TRANSPARENT_WHITE - Static variable in class com.sillysoft.tools.GraphicsTool
 
hasCastle() - Method in class com.sillysoft.vox.Country
Has any Castle?
hasCastle(Player) - Method in class com.sillysoft.vox.Country
Has a Castle owned by the given player?
hasCastle() - Method in class com.sillysoft.vox.UnitStackGroup
 
hasNext() - Method in class com.sillysoft.lux.util.CountryIterator
Whether or not the Iterator contains more Countrys
hasNext() - Method in class com.sillysoft.tools.RangeIterator
 
hasNext() - Method in class com.sillysoft.vox.UnitStackGroupIterator
Is a next UnitStack available?
Holdem - Class in com.sillysoft.vox.agent
Holdem tries to protect his lands.
Holdem() - Constructor for class com.sillysoft.vox.agent.Holdem
 
Human - Class in com.sillysoft.vox.agent
 
Human() - Constructor for class com.sillysoft.vox.agent.Human
 
HumanFriendly - Class in com.sillysoft.lux.agent
HumanFriendly is like Cluster, but he will never attack countries owned by Human players.
HumanFriendly() - Constructor for class com.sillysoft.lux.agent.HumanFriendly
 

I

IDable - Interface in com.sillysoft.vox
 
immediateCash() - Method in class com.sillysoft.lux.Board
Returns whether or not cards are immediately cashed when taking over a player and ending up with 5 or more cards.
increment(Object) - Method in class com.sillysoft.tools.IntegerHashtable
 
initGraphicsTool(String, String) - Static method in class com.sillysoft.tools.GraphicsTool
 
IntegerHashtable - Class in com.sillysoft.tools
A hashtable that stores integers for it's values.
IntegerHashtable() - Constructor for class com.sillysoft.tools.IntegerHashtable
 
isAir() - Method in interface com.sillysoft.vox.Unit
 
isAir() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
isAir() - Method in class com.sillysoft.vox.UnitStack
 
isASet(Card, Card, Card) - Static method in class com.sillysoft.lux.Card
A test of whether these three cards are a cashable set.
isCastle() - Method in interface com.sillysoft.vox.Unit
 
isCastle() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
isCastle() - Method in class com.sillysoft.vox.unit.UnitCastle
 
isEmpty() - Method in class com.sillysoft.lux.util.CountryStack
 
isEmpty() - Method in class com.sillysoft.vox.Country
Returns true if the country has 0 units in it.
isFlag() - Method in interface com.sillysoft.vox.Unit
 
isFlag() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
isFlag() - Method in class com.sillysoft.vox.unit.UnitFlag
 
isFort() - Method in interface com.sillysoft.vox.Unit
 
isFort() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
isHuman() - Method in class com.sillysoft.vox.Player
 
isLocalIP(String) - Static method in class com.sillysoft.tools.StringTool
 
isMacintosh - Static variable in class com.sillysoft.tools.SS
 
isMacintosh104 - Static variable in class com.sillysoft.tools.SS
 
isMacintosh105 - Static variable in class com.sillysoft.tools.SS
 
isMacintosh106 - Static variable in class com.sillysoft.tools.SS
 
isNextTo(Country) - Method in class com.sillysoft.lux.Country
Depreciated: use canGoto() instead.
isNextTo(int) - Method in class com.sillysoft.lux.Country
Depreciated: use canGoto() instead.
isOfType(Unit) - Method in class com.sillysoft.vox.UnitStack
 
isOnlyAirplanes() - Method in class com.sillysoft.vox.UnitStackGroup
 
isPlayerInfoInsideMap() - Method in class com.sillysoft.lux.MapLoader
Is the player-info area being displayed inside the map window? The default Lux setting is true.
isSub() - Method in interface com.sillysoft.vox.Unit
 
isSub() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
isVista - Static variable in class com.sillysoft.tools.SS
 
isWater() - Method in interface com.sillysoft.vox.Unit
 
isWater() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
isWater() - Method in class com.sillysoft.vox.UnitStack
 
isWindows - Static variable in class com.sillysoft.tools.SS
 
isXP - Static variable in class com.sillysoft.tools.SS
 

K

Killbot - Class in com.sillysoft.lux.agent
Combines EvilPixie and Vulture behaviour.
Killbot() - Constructor for class com.sillysoft.lux.agent.Killbot
 
killUnits(int) - Method in class com.sillysoft.vox.UnitStackGroup
 
Kodos - Class in com.sillysoft.vox.agent
 
Kodos() - Constructor for class com.sillysoft.vox.agent.Kodos
 

L

lineCanExistBetween(int, int) - Method in class com.sillysoft.lux.RandomMapGenerator
Tests to see if a line can safely be drawn between the two shapes.
LuxAgent - Interface in com.sillysoft.lux.agent
The LuxAgent interface acts as a bridge between agents and the game.
LuxMapGenerator - Interface in com.sillysoft.lux
The LuxMapGenerator interface allows you to create MapGenerators and have Lux load and run them.

M

main(String) - Static method in class com.sillysoft.tools.XMLTool
 
MapLoader - Class in com.sillysoft.lux
 
MapLoader() - Constructor for class com.sillysoft.lux.MapLoader
 
message(String, Object) - Method in class com.sillysoft.lux.agent.Angry
We get notified through this methos when certain things happen.
message(String, Object) - Method in class com.sillysoft.lux.agent.BlankAgent
 
message(String, Object) - Method in class com.sillysoft.lux.agent.Boring
 
message(String, Object) - Method in class com.sillysoft.lux.agent.Chimera
 
message(String, Object) - Method in class com.sillysoft.lux.agent.Empty
 
message(String, Object) - Method in interface com.sillysoft.lux.agent.LuxAgent
This method is used to send some notifications to the LuxAgent.
message(String, Object) - Method in class com.sillysoft.lux.agent.Noisy
 
message(String, Object) - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
message(String, Object) - Method in class com.sillysoft.lux.agent.Stinky
 
message(String, Object) - Method in class com.sillysoft.lux.agent.Vulture
 
message(String, Object) - Method in class com.sillysoft.lux.ExternalMapGenerator
 
message(String, Object) - Method in class com.sillysoft.lux.Gemisys
 
message(String, Object) - Method in interface com.sillysoft.lux.LuxMapGenerator
This method is not currently used.
message(String, Object) - Method in class com.sillysoft.lux.RandomMapGenerator
 
message(String, Object) - Method in class com.sillysoft.lux.Terrorism
 
message(String, Object) - Method in class com.sillysoft.lux.TerrorismOps
 
message(String, Object) - Method in class com.sillysoft.vox.agent.Boring
 
message(String, Object) - Method in class com.sillysoft.vox.agent.Human
We get notified through this methos when certain things happen.
message(String, Object) - Method in interface com.sillysoft.vox.agent.VoxAgent
This method may be used in the future to send notifications to the VoxAgent.
message(String, Object) - Method in class com.sillysoft.vox.agent.VoxAgentBase
We get notified through this methos when certain things happen.
midpoint(Point2D, Point2D) - Static method in class com.sillysoft.tools.GraphicsTool
 
midpoint2D(Point2D, Point2D) - Static method in class com.sillysoft.tools.GraphicsTool
 
monthNames - Static variable in class com.sillysoft.tools.SS
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Angry
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.BetterPixie
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.BlankAgent
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Boring
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Chimera
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Cluster
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Communist
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Defendo
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Empty
 
moveArmiesIn(int, int) - Method in interface com.sillysoft.lux.agent.LuxAgent
Whenever you take over a country, this method will be called by Lux.
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Noisy
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Pixie
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Stinky
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Trotsky
 
moveArmiesIn(int, int) - Method in class com.sillysoft.lux.agent.Vulture
 
moveTowardsEnemySplittingUp(UnitStack, Country) - Method in class com.sillysoft.vox.agent.VoxAgentBase
Will move all units towards enemies.
moveUnit(UnitStack, Country, Country, int) - Method in class com.sillysoft.vox.VoxWorld
Take these units away from the group it was in and add it to a command storing the move.

N

name() - Method in class com.sillysoft.lux.agent.Angry
 
name() - Method in class com.sillysoft.lux.agent.BetterPixie
 
name() - Method in class com.sillysoft.lux.agent.BlankAgent
 
name() - Method in class com.sillysoft.lux.agent.Boring
 
name() - Method in class com.sillysoft.lux.agent.Bort
 
name() - Method in class com.sillysoft.lux.agent.Boscoe
 
name() - Method in class com.sillysoft.lux.agent.Chimera
 
name() - Method in class com.sillysoft.lux.agent.Cluster
 
name() - Method in class com.sillysoft.lux.agent.Communist
 
name() - Method in class com.sillysoft.lux.agent.Defendo
 
name() - Method in class com.sillysoft.lux.agent.Empty
 
name() - Method in class com.sillysoft.lux.agent.EvilPixie
 
name() - Method in class com.sillysoft.lux.agent.HumanFriendly
 
name() - Method in class com.sillysoft.lux.agent.Killbot
 
name() - Method in interface com.sillysoft.lux.agent.LuxAgent
This is the name of your agent.
name() - Method in class com.sillysoft.lux.agent.Noisy
 
name() - Method in class com.sillysoft.lux.agent.Pixie
 
name() - Method in class com.sillysoft.lux.agent.Quo
 
name() - Method in class com.sillysoft.lux.agent.Shaft
 
name() - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
name() - Method in class com.sillysoft.lux.agent.Stinky
 
name() - Method in class com.sillysoft.lux.agent.Trotsky
 
name() - Method in class com.sillysoft.lux.agent.Vulture
 
name() - Method in class com.sillysoft.lux.agent.Yakool
 
name() - Method in class com.sillysoft.lux.ExternalMapGenerator
 
name() - Method in class com.sillysoft.lux.Gemisys
 
name() - Method in interface com.sillysoft.lux.LuxMapGenerator
A name for your generator.
name() - Method in class com.sillysoft.lux.RandomMapGenerator
 
name() - Method in class com.sillysoft.lux.Terrorism
 
name() - Method in class com.sillysoft.lux.TerrorismOps
 
name() - Method in class com.sillysoft.vox.agent.AI1
 
name() - Method in class com.sillysoft.vox.agent.AI2
 
name() - Method in class com.sillysoft.vox.agent.AI3
 
name() - Method in class com.sillysoft.vox.agent.Angry
 
name() - Method in class com.sillysoft.vox.agent.Boring
 
name() - Method in class com.sillysoft.vox.agent.Bubbles
 
name() - Method in class com.sillysoft.vox.agent.Earl
 
name() - Method in class com.sillysoft.vox.agent.Grabby
 
name() - Method in class com.sillysoft.vox.agent.Holdem
 
name() - Method in class com.sillysoft.vox.agent.Human
 
name() - Method in class com.sillysoft.vox.agent.Kodos
 
name() - Method in class com.sillysoft.vox.agent.Quirky
 
name() - Method in interface com.sillysoft.vox.agent.VoxAgent
This is the name of your agent.
name() - Method in class com.sillysoft.vox.agent.VoxAgentBase
 
name() - Method in class com.sillysoft.vox.agent.wandering
 
name() - Method in class com.sillysoft.vox.Player
 
nearNumber(double) - Method in class com.sillysoft.lux.RandomMapGenerator
Return a random number near to 'near', depending on the class-variable 'variance'.
NeighborIterator - Class in com.sillysoft.lux.util
An Iterator of the neighbors to a given Country.
NeighborIterator(Country) - Constructor for class com.sillysoft.lux.util.NeighborIterator
 
NeighborIterator(Country, Country[]) - Constructor for class com.sillysoft.lux.util.NeighborIterator
 
NeighborIterator(int, Country[]) - Constructor for class com.sillysoft.lux.util.NeighborIterator
 
NeighborIterator(Country, CountryIterator) - Constructor for class com.sillysoft.lux.util.NeighborIterator
 
NeighborIterator(int, CountryIterator) - Constructor for class com.sillysoft.lux.util.NeighborIterator
 
next() - Method in class com.sillysoft.lux.util.CountryIterator
Removes the next Country from the Iterator and returns it.
next() - Method in class com.sillysoft.tools.RangeIterator
 
next() - Method in class com.sillysoft.vox.UnitStackGroupIterator
Get the next UnitStack
Noisy - Class in com.sillysoft.lux.agent
 
Noisy() - Constructor for class com.sillysoft.lux.agent.Noisy
 
nukeAtLevel(int) - Method in class com.sillysoft.vox.UnitStackGroup
 
numberOfClusters() - Method in class com.sillysoft.lux.util.CountryClusterSet
 
numberOfContinents(Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
Returns the number of continents.

O

OrderedNeighborIterator - Class in com.sillysoft.lux.util
An Iterator of the neighbors to a given Country that returns them in the order of least enemy neighbors first.
OrderedNeighborIterator(Country) - Constructor for class com.sillysoft.lux.util.OrderedNeighborIterator
 
orderUnits() - Method in class com.sillysoft.vox.UnitStackGroup
 
orderWeakestFirst() - Method in class com.sillysoft.lux.util.CountryClusterSet
Sort the clusters in this set so they go from weakest (in number of armies) to strongest.

P

paintColorOverImage(Image, Color) - Static method in class com.sillysoft.tools.GraphicsTool
 
paintColorOverImage(int, int, Image, Color) - Static method in class com.sillysoft.tools.GraphicsTool
 
paintColorOverImage(int, int, Image, Color, float) - Static method in class com.sillysoft.tools.GraphicsTool
 
pickCountry() - Method in class com.sillysoft.lux.agent.Angry
 
pickCountry() - Method in class com.sillysoft.lux.agent.BetterPixie
 
pickCountry() - Method in class com.sillysoft.lux.agent.BlankAgent
 
pickCountry() - Method in class com.sillysoft.lux.agent.Boring
 
pickCountry() - Method in class com.sillysoft.lux.agent.Chimera
 
pickCountry() - Method in class com.sillysoft.lux.agent.Cluster
 
pickCountry() - Method in class com.sillysoft.lux.agent.Communist
 
pickCountry() - Method in class com.sillysoft.lux.agent.Defendo
 
pickCountry() - Method in class com.sillysoft.lux.agent.Empty
 
pickCountry() - Method in interface com.sillysoft.lux.agent.LuxAgent
If the game's preferences are set to allow players to select the initial countries, then the pickCountry() method will be called repeatadly at the beginning of a game, until all the countries have been assigned.
pickCountry() - Method in class com.sillysoft.lux.agent.Noisy
 
pickCountry() - Method in class com.sillysoft.lux.agent.Pixie
 
pickCountry() - Method in class com.sillysoft.lux.agent.Shaft
 
pickCountry() - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
pickCountry() - Method in class com.sillysoft.lux.agent.Stinky
 
pickCountry() - Method in class com.sillysoft.lux.agent.Trotsky
 
pickCountry() - Method in class com.sillysoft.lux.agent.Vulture
 
pickCountry() - Method in class com.sillysoft.vox.agent.Boring
 
pickCountry() - Method in class com.sillysoft.vox.agent.Human
 
Pixie - Class in com.sillysoft.lux.agent
Pixie examines each continent and focuses on promising ones.
Pixie() - Constructor for class com.sillysoft.lux.agent.Pixie
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Angry
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.BetterPixie
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.BlankAgent
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Boring
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Chimera
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Cluster
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Communist
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Defendo
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Empty
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.EvilPixie
 
placeArmies(int) - Method in interface com.sillysoft.lux.agent.LuxAgent
Every turn, each agent gets some armies to place on its countries.
placeArmies(int) - Method in class com.sillysoft.lux.agent.Noisy
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Pixie
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Stinky
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Trotsky
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Vulture
 
placeArmies(int) - Method in class com.sillysoft.lux.agent.Yakool
 
placeArmies(int, Country) - Method in class com.sillysoft.lux.Board
Places numberOfArmies armies in the given country.
placeArmies(int, int) - Method in class com.sillysoft.lux.Board
Places numberOfArmies armies in the given country.
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.Angry
 
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.BlankAgent
 
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.Boring
 
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.Chimera
 
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.Empty
 
placeInitialArmies(int) - Method in interface com.sillysoft.lux.agent.LuxAgent
After choosing countries is done it is time to place the starting armies.
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.Noisy
 
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.Stinky
 
placeInitialArmies(int) - Method in class com.sillysoft.lux.agent.Vulture
 
placeUnits(UnitStack, Country) - Method in class com.sillysoft.vox.VoxWorld
 
playAudioAtURL(String) - Method in class com.sillysoft.lux.Board
Play the audio file at the specified URL.
Player - Class in com.sillysoft.vox
Represents a Player in the game.
Player(String) - Constructor for class com.sillysoft.vox.Player
Used when reading off the network.
Player(String, Team) - Constructor for class com.sillysoft.vox.Player
 
Player(String, Team, Color) - Constructor for class com.sillysoft.vox.Player
 
Player(Attributes, Team) - Constructor for class com.sillysoft.vox.Player
 
playerIsStillInTheGame(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method checks if player still owns any countries.
PlayerIterator - Class in com.sillysoft.lux.util
An Iterator of all the Countries that are owned by player.
PlayerIterator(int, Country[]) - Constructor for class com.sillysoft.lux.util.PlayerIterator
 
PlayerIterator(int, CountryIterator) - Constructor for class com.sillysoft.lux.util.PlayerIterator
 
playerOwnsAnyContinent(int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method simply determines if player owns any full continents.
playerOwnsAnyPositiveContinent(int, Country[], Board) - Static method in class com.sillysoft.lux.util.BoardHelper
The same as playerOwnsAnyContinent() except it only considers continents with positive bonuses.
playerOwnsContinent(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method simply determines if player owns all the countries that are part of continent.
playerOwnsContinentCountry(int, int, Country[]) - Static method in class com.sillysoft.lux.util.BoardHelper
This method simply determines if player owns ANY of the countries that are part of continent.
plural(int) - Static method in class com.sillysoft.tools.StringTool
Return as "s" except if the number is 1.
pointFromString(String) - Static method in class com.sillysoft.tools.GraphicsTool
 
pop() - Method in class com.sillysoft.lux.util.CountryStack
Get the country-code from the top of the stack.
printManagedImageList() - Static method in class com.sillysoft.tools.GraphicsTool
 
push(Country) - Method in class com.sillysoft.lux.util.CountryStack
Add a Country to the top of the stack.
pushToBack(UnitStack) - Method in class com.sillysoft.vox.UnitStackGroup
If the UG is in this list then move it to the back and return true.
pushToFront(UnitStack) - Method in class com.sillysoft.vox.UnitStackGroup
If the UG is in this list then move it to the back and return true.
pushWithValue(Country, int) - Method in class com.sillysoft.lux.util.CountryStack
Add a Country into the stack.
pushWithValueAndHistory(Country, int, int[]) - Method in class com.sillysoft.lux.util.CountryPathStack
 
putInt(Object, int) - Method in class com.sillysoft.tools.IntegerHashtable
 

Q

Quirky - Class in com.sillysoft.vox.agent
Quirky attacks randomly.
Quirky() - Constructor for class com.sillysoft.vox.agent.Quirky
 
Quo - Class in com.sillysoft.lux.agent
 
Quo() - Constructor for class com.sillysoft.lux.agent.Quo
 

R

rand - Static variable in class com.sillysoft.tools.SS
 
randomize(Vector) - Static method in class com.sillysoft.tools.ArrayTool
Shuffle the order of the elements in the List.
randomize(Vector, Random) - Static method in class com.sillysoft.tools.ArrayTool
Shuffle the order of the elements in the List.
RandomMapGenerator - Class in com.sillysoft.lux
RandomMapGenerator is an implementation of the MapGenerator interface.
RandomMapGenerator() - Constructor for class com.sillysoft.lux.RandomMapGenerator
 
RangeIterator - Class in com.sillysoft.tools
 
RangeIterator(int, int) - Constructor for class com.sillysoft.tools.RangeIterator
 
RangeIterator(int, int, int) - Constructor for class com.sillysoft.tools.RangeIterator
 
RangeIterator(int, int, int, int) - Constructor for class com.sillysoft.tools.RangeIterator
 
realName() - Method in class com.sillysoft.lux.agent.Chimera
 
releaseManagedImage(String) - Static method in class com.sillysoft.tools.GraphicsTool
 
releaseManagedImages() - Static method in class com.sillysoft.tools.GraphicsTool
 
releaseManagedImagesColored() - Static method in class com.sillysoft.tools.GraphicsTool
 
remove(int) - Method in class com.sillysoft.vox.UnitStackGroup
 
remove(UnitStack) - Method in class com.sillysoft.vox.UnitStackGroup
 
removeCarry() - Method in class com.sillysoft.vox.UnitStack
 
removeCarry(UnitStack) - Method in class com.sillysoft.vox.UnitStack
 
removeCarryAir() - Method in class com.sillysoft.vox.UnitStack
 
removeDuplicates(Vector) - Static method in class com.sillysoft.tools.ArrayTool
 
removeEmpties() - Method in class com.sillysoft.vox.UnitStackGroup
 
removeExpireAfterAttackUnits() - Method in class com.sillysoft.vox.UnitStackGroup
Remove any units that expire after battles and return them.
removeNonLandableAirUnits() - Method in class com.sillysoft.vox.UnitStackGroup
Remove any air units that cannot invade and return them.
removeOne() - Method in class com.sillysoft.vox.UnitStack
 
resize(double) - Method in class com.sillysoft.tools.ExtraLine
 
resize(double) - Method in class com.sillysoft.vox.Continent
 
resizeShape(Shape, double) - Static method in class com.sillysoft.tools.GraphicsTool
 
reverse() - Method in class com.sillysoft.lux.util.CountryRoute
Return a route that is the same as this one but in the reverse order.

S

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
 

T

takeWeight(int) - Method in class com.sillysoft.vox.UnitStackGroup
 
Team - Class in com.sillysoft.vox
Represents a Team in the game.
Team(String) - Constructor for class com.sillysoft.vox.Team
 
Team(String, String) - Constructor for class com.sillysoft.vox.Team
 
Team(Attributes) - Constructor for class com.sillysoft.vox.Team
 
Terrorism - Class in com.sillysoft.lux
 
Terrorism() - Constructor for class com.sillysoft.lux.Terrorism
 
TerrorismOps - Class in com.sillysoft.lux
 
TerrorismOps() - Constructor for class com.sillysoft.lux.TerrorismOps
 
test() - Static method in class com.sillysoft.tools.RangeIterator
Print some test data about the RangeIterator's behaviour.
THICK_ARROW_COLOR - Static variable in class com.sillysoft.tools.GraphicsTool
 
timeFormat(long) - Static method in class com.sillysoft.tools.StringTool
 
timeFormat(long, int) - Static method in class com.sillysoft.tools.StringTool
 
timeFormatNetTrans(long, int) - Static method in class com.sillysoft.tools.StringTool
 
to() - Method in class com.sillysoft.tools.ExtraLine
 
toBufferedImage(Image, GraphicsConfiguration) - Static method in class com.sillysoft.tools.GraphicsTool
Take an Image and return the same as an BufferedImage.
tokenize(String, String) - Static method in class com.sillysoft.tools.StringTool
Take a String content and return the tokens created by divinding it by the given delimiter.
tookOverACountry() - Method in class com.sillysoft.lux.Board
Returns true if the current player has taken over a country this turn.
topHistory() - Method in class com.sillysoft.lux.util.CountryPathStack
 
topValue() - Method in class com.sillysoft.lux.util.CountryStack
 
toString() - Method in class com.sillysoft.lux.Board
Gives a String representation of the board.
toString() - Method in class com.sillysoft.lux.Card
Gives a String representation of the card.
toString() - Method in class com.sillysoft.lux.Country
Returns a String representation of the country.
toString() - Method in class com.sillysoft.lux.util.CountryCluster
 
toString() - Method in class com.sillysoft.lux.util.CountryRoute
 
toString(List) - Static method in class com.sillysoft.tools.ArrayTool
 
toString(String[]) - Static method in class com.sillysoft.tools.ArrayTool
 
toString() - Method in class com.sillysoft.tools.ExtraLine
 
toString() - Method in class com.sillysoft.vox.Continent
 
toString() - Method in class com.sillysoft.vox.Country
 
toString() - Method in class com.sillysoft.vox.Player
 
toString() - Method in class com.sillysoft.vox.Team
 
toString() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
toString() - Method in class com.sillysoft.vox.unit.UnitCastle
 
toString() - Method in class com.sillysoft.vox.unit.UnitFlag
 
toString() - Method in class com.sillysoft.vox.unit.UnitKnight
 
toString() - Method in class com.sillysoft.vox.unit.UnitPawn
 
toString() - Method in class com.sillysoft.vox.UnitStack
 
toString() - Method in class com.sillysoft.vox.UnitStackGroup
 
toStringWithUnits() - Method in class com.sillysoft.vox.Country
 
toStringXML() - Method in interface com.sillysoft.tools.XMLSerializable
 
toStringXML() - Method in class com.sillysoft.vox.Continent
 
toStringXML() - Method in class com.sillysoft.vox.Country
 
toStringXML() - Method in class com.sillysoft.vox.Player
 
toStringXML() - Method in class com.sillysoft.vox.UnitStack
 
toStringXML() - Method in class com.sillysoft.vox.UnitStackGroup
 
transferCards() - Method in class com.sillysoft.lux.Board
Returns whether or not cards get transferred when a player is killed.
Translator - Class in com.sillysoft.tools
 
Translator() - Constructor for class com.sillysoft.tools.Translator
 
TRANSPARENT - Static variable in class com.sillysoft.tools.GraphicsTool
 
transparent(Color, float) - Static method in class com.sillysoft.tools.GraphicsTool
 
transportCapacity() - Method in interface com.sillysoft.vox.Unit
 
transportCapacity() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
transportCapacityAir() - Method in interface com.sillysoft.vox.Unit
 
transportCapacityAir() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
transportCapacityMissiles() - Method in interface com.sillysoft.vox.Unit
 
transportCapacityMissiles() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
transportWeight() - Method in interface com.sillysoft.vox.Unit
 
transportWeight() - Method in class com.sillysoft.vox.unit.UnitAbstract
 
Trotsky - Class in com.sillysoft.lux.agent
 
Trotsky() - Constructor for class com.sillysoft.lux.agent.Trotsky
 

U

underscoreToSpace(String) - Static method in class com.sillysoft.tools.StringTool
Return the input with all underscored replaced with spaces.
Unit - Interface in com.sillysoft.vox
 
UnitAbstract - Class in com.sillysoft.vox.unit
 
UnitAbstract() - Constructor for class com.sillysoft.vox.unit.UnitAbstract
 
unitCanReach(UnitStack, Country, Country) - Method in class com.sillysoft.vox.VoxWorld
 
UnitCastle - Class in com.sillysoft.vox.unit
 
UnitCastle(Player) - Constructor for class com.sillysoft.vox.unit.UnitCastle
 
UnitFlag - Class in com.sillysoft.vox.unit
 
UnitFlag(Player) - Constructor for class com.sillysoft.vox.unit.UnitFlag
 
UnitKnight - Class in com.sillysoft.vox.unit
 
UnitKnight(Player) - Constructor for class com.sillysoft.vox.unit.UnitKnight
 
UnitPack - Class in com.sillysoft.vox
UnitPack is a factory class for creating Units.
UnitPack() - Constructor for class com.sillysoft.vox.UnitPack
 
UnitPawn - Class in com.sillysoft.vox.unit
 
UnitPawn(Player) - Constructor for class com.sillysoft.vox.unit.UnitPawn
 
UnitStack - Class in com.sillysoft.vox
Each UnitStack represents a number of units sharing a type and owner.
UnitStack(String, CountriesManager) - Constructor for class com.sillysoft.vox.UnitStack
 
UnitStack(Unit) - Constructor for class com.sillysoft.vox.UnitStack
 
UnitStack(Unit, int) - Constructor for class com.sillysoft.vox.UnitStack
 
UnitStack(Unit, int, int) - Constructor for class com.sillysoft.vox.UnitStack
 
UnitStack(Unit, int, int, UnitStackGroup, UnitStackGroup, UnitStackGroup) - Constructor for class com.sillysoft.vox.UnitStack
 
UnitStackGroup - Class in com.sillysoft.vox
UnitStackGroup is a group of UnitStacks, each of which may have different owners or types.
UnitStackGroup() - Constructor for class com.sillysoft.vox.UnitStackGroup
 
UnitStackGroup(UnitStack) - Constructor for class com.sillysoft.vox.UnitStackGroup
 
UnitStackGroup(List) - Constructor for class com.sillysoft.vox.UnitStackGroup
 
UnitStackGroup(String, CountriesManager) - Constructor for class com.sillysoft.vox.UnitStackGroup
 
UnitStackGroupIterator - Class in com.sillysoft.vox
 
UnitStackGroupIterator(Country) - Constructor for class com.sillysoft.vox.UnitStackGroupIterator
Extract the UnitStackGroup from Country "from" and create a UnitStackGroupIterator
UnitStackGroupIterator(UnitStackGroup) - Constructor for class com.sillysoft.vox.UnitStackGroupIterator
Create a UnitStackGroupIterator
unitTransparency - Static variable in class com.sillysoft.vox.UnitStack
 
useCards() - Method in class com.sillysoft.lux.Board
Returns whether or not cards are on in the preferences.
useScenario() - Method in class com.sillysoft.lux.Board
Did the current game start with the scenario?

V

version() - Method in class com.sillysoft.lux.agent.Angry
 
version() - Method in class com.sillysoft.lux.agent.BetterPixie
 
version() - Method in class com.sillysoft.lux.agent.BlankAgent
 
version() - Method in class com.sillysoft.lux.agent.Boring
 
version() - Method in class com.sillysoft.lux.agent.Chimera
 
version() - Method in class com.sillysoft.lux.agent.Cluster
 
version() - Method in class com.sillysoft.lux.agent.Communist
 
version() - Method in class com.sillysoft.lux.agent.Defendo
 
version() - Method in class com.sillysoft.lux.agent.Empty
 
version() - Method in class com.sillysoft.lux.agent.HumanFriendly
 
version() - Method in class com.sillysoft.lux.agent.Killbot
 
version() - Method in interface com.sillysoft.lux.agent.LuxAgent
The version of your agent.
version() - Method in class com.sillysoft.lux.agent.Noisy
 
version() - Method in class com.sillysoft.lux.agent.Pixie
 
version() - Method in class com.sillysoft.lux.agent.Stinky
 
version() - Method in class com.sillysoft.lux.agent.Trotsky
 
version() - Method in class com.sillysoft.lux.agent.Vulture
 
version() - Method in class com.sillysoft.lux.ExternalMapGenerator
 
version() - Method in class com.sillysoft.lux.Gemisys
 
version() - Method in interface com.sillysoft.lux.LuxMapGenerator
The version of your generator.
version() - Method in class com.sillysoft.lux.RandomMapGenerator
 
version() - Method in class com.sillysoft.lux.Terrorism
 
version() - Method in class com.sillysoft.lux.TerrorismOps
 
version() - Method in class com.sillysoft.vox.agent.AI1
 
version() - Method in class com.sillysoft.vox.agent.AI2
 
version() - Method in class com.sillysoft.vox.agent.AI3
 
version() - Method in class com.sillysoft.vox.agent.Angry
 
version() - Method in class com.sillysoft.vox.agent.Boring
 
version() - Method in class com.sillysoft.vox.agent.Bubbles
 
version() - Method in class com.sillysoft.vox.agent.Earl
 
version() - Method in class com.sillysoft.vox.agent.Grabby
 
version() - Method in class com.sillysoft.vox.agent.Holdem
 
version() - Method in class com.sillysoft.vox.agent.Human
 
version() - Method in class com.sillysoft.vox.agent.Kodos
 
version() - Method in class com.sillysoft.vox.agent.Quirky
 
version() - Method in interface com.sillysoft.vox.agent.VoxAgent
The version of your agent.
version() - Method in class com.sillysoft.vox.agent.VoxAgentBase
 
version() - Method in class com.sillysoft.vox.agent.wandering
 
VoxAgent - Interface in com.sillysoft.vox.agent
The VoxAgent interface acts as a bridge between agents and the game.
VoxAgentBase - Class in com.sillysoft.vox.agent
VoxAgentBase is an abstract agent class containing utility methods.
VoxAgentBase() - Constructor for class com.sillysoft.vox.agent.VoxAgentBase
 
VoxWorld - Class in com.sillysoft.vox
VoxWorld is where agents send their commands to.
VoxWorld() - Constructor for class com.sillysoft.vox.VoxWorld
 
Vulture - Class in com.sillysoft.lux.agent
Includes logic to fully eliminate weak players from the game.
Vulture() - Constructor for class com.sillysoft.lux.agent.Vulture
 

W

wandering - Class in com.sillysoft.vox.agent
 
wandering() - Constructor for class com.sillysoft.vox.agent.wandering
 
WATER - Static variable in class com.sillysoft.vox.Player
 
WATER - Static variable in class com.sillysoft.vox.Team
 
width - Variable in class com.sillysoft.tools.ExtraLine
 
wrapLines(Object, int) - Static method in class com.sillysoft.tools.StringTool
Add line breaks at word boundaries to get not more than 'lineSize' characters per line.
wrapLines(String, int) - Static method in class com.sillysoft.tools.StringTool
Add line breaks at word boundaries to get not more than 'lineSize' characters per line.
wrapLines(String, int, boolean) - Static method in class com.sillysoft.tools.StringTool
Add line breaks at word boundaries to get not more than 'lineSize' characters per line.
wrapString(String, int, Font) - Static method in class com.sillysoft.tools.GraphicsTool
 

X

xCor(int, double) - Static method in class com.sillysoft.tools.GraphicsTool
 
xmlSafe(String) - Static method in class com.sillysoft.tools.StringTool
 
xmlSafeReverse(String) - Static method in class com.sillysoft.tools.StringTool
 
XMLSerializable - Interface in com.sillysoft.tools
Interface for objects that can be serialized into XML and back.
XMLTool - Class in com.sillysoft.tools
 
XMLTool() - Constructor for class com.sillysoft.tools.XMLTool
 

Y

Yakool - Class in com.sillysoft.lux.agent
 
Yakool() - Constructor for class com.sillysoft.lux.agent.Yakool
 
yCor(int, double) - Static method in class com.sillysoft.tools.GraphicsTool
 
youWon() - Method in class com.sillysoft.lux.agent.Angry
 
youWon() - Method in class com.sillysoft.lux.agent.BetterPixie
 
youWon() - Method in class com.sillysoft.lux.agent.BlankAgent
 
youWon() - Method in class com.sillysoft.lux.agent.Boring
 
youWon() - Method in class com.sillysoft.lux.agent.Bort
 
youWon() - Method in class com.sillysoft.lux.agent.Boscoe
 
youWon() - Method in class com.sillysoft.lux.agent.Chimera
 
youWon() - Method in class com.sillysoft.lux.agent.Cluster
 
youWon() - Method in class com.sillysoft.lux.agent.Communist
 
youWon() - Method in class com.sillysoft.lux.agent.Defendo
 
youWon() - Method in class com.sillysoft.lux.agent.Empty
 
youWon() - Method in class com.sillysoft.lux.agent.EvilPixie
 
youWon() - Method in class com.sillysoft.lux.agent.Killbot
 
youWon() - Method in interface com.sillysoft.lux.agent.LuxAgent
If your agent wins the game then this method will be called.
youWon() - Method in class com.sillysoft.lux.agent.Noisy
 
youWon() - Method in class com.sillysoft.lux.agent.Pixie
 
youWon() - Method in class com.sillysoft.lux.agent.Quo
 
youWon() - Method in class com.sillysoft.lux.agent.Shaft
 
youWon() - Method in class com.sillysoft.lux.agent.SmartAgentBase
 
youWon() - Method in class com.sillysoft.lux.agent.Stinky
 
youWon() - Method in class com.sillysoft.lux.agent.Trotsky
 
youWon() - Method in class com.sillysoft.lux.agent.Vulture
 
youWon() - Method in class com.sillysoft.lux.agent.Yakool
 
youWon() - Method in class com.sillysoft.vox.agent.AI1
 
youWon() - Method in class com.sillysoft.vox.agent.AI2
 
youWon() - Method in class com.sillysoft.vox.agent.AI3
 
youWon() - Method in class com.sillysoft.vox.agent.Angry
 
youWon() - Method in class com.sillysoft.vox.agent.Boring
 
youWon() - Method in class com.sillysoft.vox.agent.Bubbles
 
youWon() - Method in class com.sillysoft.vox.agent.Earl
 
youWon() - Method in class com.sillysoft.vox.agent.Grabby
 
youWon() - Method in class com.sillysoft.vox.agent.Holdem
 
youWon() - Method in class com.sillysoft.vox.agent.Human
 
youWon() - Method in class com.sillysoft.vox.agent.Kodos
 
youWon() - Method in class com.sillysoft.vox.agent.Quirky
 
youWon() - Method in interface com.sillysoft.vox.agent.VoxAgent
If your agent wins the game then this method will be called.
youWon() - Method in class com.sillysoft.vox.agent.VoxAgentBase
 
youWon() - Method in class com.sillysoft.vox.agent.wandering
 
youWonStatic() - Static method in class com.sillysoft.vox.agent.Human
 
A B C D E F G H I K L M N O P Q R S T U V W X Y 
Skip navigation links