A B C D E F G H I J L M N O P Q R S T U V W Y

S

sCards - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
scatter(float) - Method in class uk.org.redfelineninja.risk.robot.Move
Randomly scatter the country weights by the supplied factor.
sCheat - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
score(int[], int) - Method in class uk.org.redfelineninja.risk.Statistics
 
sCountryClicked - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
select - Variable in class uk.org.redfelineninja.risk.robot.Move
The desire level to move to select mode.
SELECT - Static variable in class uk.org.redfelineninja.risk.robot.Move
This is the constant return be getMove() when the robot has opted to return to SELECT mode.
Select_Player_Color - Static variable in class uk.org.redfelineninja.risk.client.Words
 
select(String) - Method in class uk.org.redfelineninja.risk.server.RiskClientWriter
Set the selection to the country.
select(String) - Method in interface uk.org.redfelineninja.risk.net.RiskClientInterface
Select the supplied country.
select(String) - Method in class uk.org.redfelineninja.risk.client.RiskClient
 
select(String) - Method in class uk.org.redfelineninja.risk.robot.GameState
Select the supplied country.
SELECTION - Static variable in class uk.org.redfelineninja.risk.robot.GameState
Mode constant, No country is selected.
setArmies(int) - Method in class uk.org.redfelineninja.risk.client.RiskStatusBar
 
setArmies(Object, int) - Method in class uk.org.redfelineninja.risk.client.RiskMap
Set the number of armies in the supplied country.
setArmies(String, int) - Method in class uk.org.redfelineninja.risk.server.RiskClientWriter
Set the number of armies in a country.
setArmies(String, int) - Method in interface uk.org.redfelineninja.risk.net.RiskClientInterface
Set the number of armies in a country.
setArmies(String, int) - Method in class uk.org.redfelineninja.risk.client.RiskClient
 
setArmies(String, int) - Method in class uk.org.redfelineninja.risk.robot.GameState
Set the number of armies in a country.
setAutoRepaint(boolean) - Method in class uk.org.redfelineninja.awt.PixMap
Set whether or not the PixMap will automatically repaint itself.
setAutoSize(boolean) - Method in class uk.org.redfelineninja.awt.ColorBlockIcon
Set whether this icon should automatically resize to its environment.
setBackground(Color) - Method in class uk.org.redfelineninja.awt.BasicTalker
Force the talker to take a new background colour.
setCards(Card[]) - Method in class uk.org.redfelineninja.risk.server.RiskClientWriter
Tell the client the cards that the player has.
setCards(Card[]) - Method in interface uk.org.redfelineninja.risk.net.RiskClientInterface
Tell the client the cards that the player has.
setCards(Card[]) - Method in class uk.org.redfelineninja.risk.client.RiskClient
 
setCards(Card[]) - Method in class uk.org.redfelineninja.risk.client.RiskCardFrame
 
setCards(Card[]) - Method in class uk.org.redfelineninja.risk.robot.GameState
Tell the client the cards that the player has.
setColor(Color) - Method in class uk.org.redfelineninja.awt.PixMap
Sets the draw colour.
setColor(Color) - Method in class uk.org.redfelineninja.awt.ColorBlockIcon
 
setColor(int) - Method in class uk.org.redfelineninja.awt.PixMap
Sets the draw colour.
setColorModel(ColorModel) - Method in class uk.org.redfelineninja.awt.PixMap
Sets the ColorModel used when creating the image from the PixMap
setDice(int[]) - Method in class uk.org.redfelineninja.risk.server.RiskClientWriter
Supply the current state of the dice to those it interests.
setDice(int[]) - Method in interface uk.org.redfelineninja.risk.net.RiskClientInterface
Supply the current state of the dice to those it interests.
setDice(int[]) - Method in class uk.org.redfelineninja.risk.client.RiskClient
Die displays are not yet implemented in this interface.
setDice(int[]) - Method in class uk.org.redfelineninja.risk.robot.GameState
Supply the current state of the dice to those it interests.
setGame(GameState) - Method in class uk.org.redfelineninja.risk.robot.Robot
 
setOwner(String, Player) - Method in class uk.org.redfelineninja.risk.server.RiskClientWriter
Set the owner of the country to the player.
setOwner(String, Player) - Method in interface uk.org.redfelineninja.risk.net.RiskClientInterface
Set the owner of the country to the player.
setOwner(String, Player) - Method in class uk.org.redfelineninja.risk.client.RiskClient
 
setOwner(String, Player) - Method in class uk.org.redfelineninja.risk.robot.GameState
Set the owner of the country to the player.
setPixel(int, int, int) - Method in class uk.org.redfelineninja.awt.PixMap
Set the colour of the pixel at (x, y).
setPixel(Point, int) - Method in class uk.org.redfelineninja.awt.PixMap
Set the colour of the pixel at the supplied point.
setPlayer(Player) - Method in class uk.org.redfelineninja.risk.robot.Robot
 
setPlayers(Player[]) - Method in class uk.org.redfelineninja.risk.client.RiskTurnBar
Define the players that are taking part in the current game.
setSelection(Object) - Method in class uk.org.redfelineninja.risk.client.RiskMap
Set the selection to the supplied country.
setServer(RiskServerInterface) - Method in class uk.org.redfelineninja.risk.robot.Robot
 
setServer(RiskServerInterface) - Method in class uk.org.redfelineninja.risk.robot.GameState
Set the server that this game state is attached to.
setSize(Dimension) - Method in class uk.org.redfelineninja.awt.ColorBlockIcon
Set the size of the icon.
setStatus(String) - Method in class uk.org.redfelineninja.risk.client.RiskStatusBar
 
setTalker(BasicTalker) - Method in class uk.org.redfelineninja.risk.client.RiskTalkerFrame
Set the talker used in this Frame.
setText(String) - Method in class uk.org.redfelineninja.awt.BasicTalker
Set the text in the text entry field.
setTextArea(JTextArea) - Method in class uk.org.redfelineninja.awt.JTextAreaWriter
Set a new JTextArea to write to.
setTurn(Player) - Method in class uk.org.redfelineninja.risk.server.RiskClientWriter
It is player's turn
setTurn(Player) - Method in interface uk.org.redfelineninja.risk.net.RiskClientInterface
It is player's turn
setTurn(Player) - Method in class uk.org.redfelineninja.risk.client.RiskClient
Moves the turn bar so that the supplied player is at the top
setTurn(Player) - Method in class uk.org.redfelineninja.risk.robot.GameState
It is player's turn
setVisible(boolean) - Method in class uk.org.redfelineninja.risk.client.RiskTalkerFrame
Show or hide this frame.
sFinishTurn - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sFortify - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
Show_Cards - Static variable in class uk.org.redfelineninja.risk.client.Words
 
Show_Dice - Static variable in class uk.org.redfelineninja.risk.client.Words
 
Show_Talker - Static variable in class uk.org.redfelineninja.risk.client.Words
 
showStatus(String) - Method in class uk.org.redfelineninja.risk.server.RiskClientWriter
Display the supplied string in the clients status line.
showStatus(String) - Method in interface uk.org.redfelineninja.risk.net.RiskClientInterface
Display the supplied string in the clients status line.
showStatus(String) - Method in class uk.org.redfelineninja.risk.client.RiskClient
 
showStatus(String) - Method in class uk.org.redfelineninja.risk.robot.GameState
Display the supplied string in the clients status line.
sIdentify - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
SimpleRobot - class uk.org.redfelineninja.risk.robot.SimpleRobot.
This is a simple example robot showing how to write vector players for the Risk Arena.
SimpleRobot() - Constructor for class uk.org.redfelineninja.risk.robot.SimpleRobot
 
size() - Method in class uk.org.redfelineninja.util.IntStack
Get the size of the stack.
size() - Method in class uk.org.redfelineninja.util.Adjacency
Gives the size of this adjacency matrix.
size() - Static method in class uk.org.redfelineninja.image.ImageBank
 
sJoinGame - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sLeaveGame - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
slideAboveZero() - Method in class uk.org.redfelineninja.risk.robot.Move
Make all weights positive.
sNewGame - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sOff - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sOn - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sPrompt - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sRobot - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sStartGame - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sStopGame - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
Start - Static variable in class uk.org.redfelineninja.risk.client.Words
 
startGame() - Method in class uk.org.redfelineninja.risk.test.RiskServerDebug
 
startGame() - Method in interface uk.org.redfelineninja.risk.net.RiskServerInterface
Start the game of risk.
startGame() - Method in class uk.org.redfelineninja.risk.client.RiskServerHandler
Stop waiting for new players and start playing the game.
startGame() - Method in class uk.org.redfelineninja.risk.client.RiskClientFrame
 
Statistics - class uk.org.redfelineninja.risk.Statistics.
Numerical calculator for odds of winning battles in Risk.
Statistics - Static variable in class uk.org.redfelineninja.risk.client.Words
 
Statistics() - Constructor for class uk.org.redfelineninja.risk.Statistics
 
status - Static variable in class uk.org.redfelineninja.risk.client.RiskStatusBar
 
stopGame(String) - Method in class uk.org.redfelineninja.risk.test.RiskServerDebug
 
stopGame(String) - Method in interface uk.org.redfelineninja.risk.net.RiskServerInterface
Stop the current game of risk.
stopGame(String) - Method in class uk.org.redfelineninja.risk.client.RiskServerHandler
Halt the current game.
StreamTokenizerDemo - class uk.org.redfelineninja.test.StreamTokenizerDemo.
This demo porgram shows the user how a StreamTokenizer might react to data it receives.
StreamTokenizerDemo() - Constructor for class uk.org.redfelineninja.test.StreamTokenizerDemo
 
string() - Static method in class uk.org.redfelineninja.image.ImageBank
This would be called toString were the class not wholey static.
stringAt(int) - Method in class uk.org.redfelineninja.risk.data.StringVector
Returns the component at the specified index as a String.
StringVector - class uk.org.redfelineninja.risk.data.StringVector.
This class provides alternative fetch methods on a Vector that have String return types and perform type safety operations.
StringVector() - Constructor for class uk.org.redfelineninja.risk.data.StringVector
 
sval - Variable in class uk.org.redfelineninja.util.Token
 
sval - Variable in class uk.org.redfelineninja.util.CommandTokenizer
The string value of the current token if applicable.
sWatchGame - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 
sWho - Static variable in class uk.org.redfelineninja.risk.net.Protocol
 

A B C D E F G H I J L M N O P Q R S T U V W Y