B C D G H I L M N P R S T U V

B

BlackWhiteRenderer - Class in ru.sstu.renju.ui.renderers
BlackWhiteRenderer class is used for rendering black and white stones.
BlackWhiteRenderer(int) - Constructor for class ru.sstu.renju.ui.renderers.BlackWhiteRenderer
 

C

CELL_SIZE - Static variable in class ru.sstu.renju.config.ConfigConsts
Default cell size in pixels.
CellType - Enum in ru.sstu.renju.core
CellType enumeration represents possible types of game field cells.
Config - Class in ru.sstu.renju.config
Config class just holds game configuration settings.
Config() - Constructor for class ru.sstu.renju.config.Config
 
ConfigConsts - Class in ru.sstu.renju.config
ConfigConsts class contains configuration constants.
ConfigPanel - Class in ru.sstu.renju.ui
GamePanel class represents main configuration panel.
ConfigPanel(ResourceBundle, GamePanel) - Constructor for class ru.sstu.renju.ui.ConfigPanel
Initializes panel.

D

doMove(Game, CellType) - Method in interface ru.sstu.renju.core.Player
This method should provide main game logic.
doMove(Game, CellType) - Method in class ru.sstu.renju.players.HumanPlayer
 
doMove(Game, CellType) - Method in class ru.sstu.renju.players.RandomPlayer
 
doMove(Game, CellType) - Method in class ru.sstu.renju.players.SimplePlayer
 

G

Game - Class in ru.sstu.renju.core
GameField class represents field for Renju game.
Game(Player, Player) - Constructor for class ru.sstu.renju.core.Game
Initializes game.
GAME_SIZE - Static variable in class ru.sstu.renju.config.ConfigConsts
Game size in cells.
GamePanel - Class in ru.sstu.renju.ui
GamePanel class represents main game panel.
GamePanel(ResourceBundle) - Constructor for class ru.sstu.renju.ui.GamePanel
Initializes panel.
GameRenderer - Class in ru.sstu.renju.ui.renderers
GameRenderer class and its subclasses are responsible for rendering of game field.
GameRenderer(String, int) - Constructor for class ru.sstu.renju.ui.renderers.GameRenderer
 
GameResult - Class in ru.sstu.renju.core
GameResult class contains game result.
GameResult() - Constructor for class ru.sstu.renju.core.GameResult
 
GameResult.Winner - Enum in ru.sstu.renju.core
Winner enumeration represents possible game winners.
getBlackPlayer() - Method in class ru.sstu.renju.config.Config
 
getCell(int, int) - Method in class ru.sstu.renju.core.Game
Provides cell type.
getCellSize() - Method in class ru.sstu.renju.ui.renderers.GameRenderer
 
getDirection() - Method in class ru.sstu.renju.core.Row
 
getDx() - Method in enum ru.sstu.renju.core.Row.Direction
 
getDy() - Method in enum ru.sstu.renju.core.Row.Direction
 
getHistory() - Method in class ru.sstu.renju.core.Game
 
getMoveCount() - Method in class ru.sstu.renju.core.Game
 
getMoveDelay() - Method in class ru.sstu.renju.config.Config
 
getRenderer() - Method in class ru.sstu.renju.config.Config
 
getResult() - Method in class ru.sstu.renju.core.Game
 
getText() - Method in enum ru.sstu.renju.core.GameResult.Winner
 
getWhitePlayer() - Method in class ru.sstu.renju.config.Config
 
getWinner() - Method in class ru.sstu.renju.core.GameResult
 
getWinnigRow() - Method in class ru.sstu.renju.core.GameResult
 
getX() - Method in class ru.sstu.renju.core.Move
 
getX() - Method in class ru.sstu.renju.core.Row
 
getY() - Method in class ru.sstu.renju.core.Move
 
getY() - Method in class ru.sstu.renju.core.Row
 

H

HumanPlayer - Class in ru.sstu.renju.players
HumanPlayer class represents Player doing moves when human clicks mouse button.
HumanPlayer() - Constructor for class ru.sstu.renju.players.HumanPlayer
 

I

isFreeCell(int, int) - Method in class ru.sstu.renju.core.Game
Checks current cell.

L

longList(int, int) - Static method in class ru.sstu.renju.core.RowUtil
Provides long list of rows that contains given cell.

M

Main - Class in ru.sstu.renju.ui
Main class is main application class.
main(String[]) - Static method in class ru.sstu.renju.ui.Main
 
Move - Class in ru.sstu.renju.core
Move class represents single move in Renju game.
Move(int, int) - Constructor for class ru.sstu.renju.core.Move
Initializes move.

N

NoughtsCrossesRenderer - Class in ru.sstu.renju.ui.renderers
NoughtsCrossesRenderer class is used for rendering noughts and crosses.
NoughtsCrossesRenderer(int) - Constructor for class ru.sstu.renju.ui.renderers.NoughtsCrossesRenderer
Initializes renderer.

P

paintBlack(Graphics, int, int) - Method in class ru.sstu.renju.ui.renderers.BlackWhiteRenderer
 
paintBlack(Graphics, int, int) - Method in class ru.sstu.renju.ui.renderers.GameRenderer
Painting Black Stone (or Cross).
paintBlack(Graphics, int, int) - Method in class ru.sstu.renju.ui.renderers.NoughtsCrossesRenderer
 
paintCell(Graphics, int, int, CellType) - Method in class ru.sstu.renju.ui.renderers.GameRenderer
Painting cell.
paintComponent(Graphics) - Method in class ru.sstu.renju.ui.GamePanel
 
paintField(Graphics) - Method in class ru.sstu.renju.ui.renderers.BlackWhiteRenderer
 
paintField(Graphics) - Method in class ru.sstu.renju.ui.renderers.GameRenderer
Painting game field.
paintField(Graphics) - Method in class ru.sstu.renju.ui.renderers.NoughtsCrossesRenderer
 
paintRow(Graphics, Row) - Method in class ru.sstu.renju.ui.renderers.BlackWhiteRenderer
 
paintRow(Graphics, Row) - Method in class ru.sstu.renju.ui.renderers.GameRenderer
Painting winning row.
paintRow(Graphics, Row) - Method in class ru.sstu.renju.ui.renderers.NoughtsCrossesRenderer
 
paintWhite(Graphics, int, int) - Method in class ru.sstu.renju.ui.renderers.BlackWhiteRenderer
 
paintWhite(Graphics, int, int) - Method in class ru.sstu.renju.ui.renderers.GameRenderer
Painting White Stone (or Nought).
paintWhite(Graphics, int, int) - Method in class ru.sstu.renju.ui.renderers.NoughtsCrossesRenderer
 
Player - Interface in ru.sstu.renju.core
Player interface represents player engine.
PLAYERS - Static variable in class ru.sstu.renju.config.ConfigConsts
List of available players.

R

RandomPlayer - Class in ru.sstu.renju.players
RandomPlayer class represents Player doing random moves.
RandomPlayer() - Constructor for class ru.sstu.renju.players.RandomPlayer
 
RENDERERS - Static variable in class ru.sstu.renju.config.ConfigConsts
List of available game renderers.
Row - Class in ru.sstu.renju.core
Row class represents row of 5 cells.
Row(int, int, Row.Direction) - Constructor for class ru.sstu.renju.core.Row
Initializes row.
Row.Direction - Enum in ru.sstu.renju.core
Direction enumeration represents row directions.
ROW_SIZE - Static variable in class ru.sstu.renju.config.ConfigConsts
Row size in cells.
rowIterator(Row) - Method in class ru.sstu.renju.core.Game
Provides iterator over cells in given row.
RowUtil - Class in ru.sstu.renju.core
RowUtil class contains methods for creating list of Row objects.
ru.sstu.renju.config - package ru.sstu.renju.config
 
ru.sstu.renju.core - package ru.sstu.renju.core
 
ru.sstu.renju.players - package ru.sstu.renju.players
 
ru.sstu.renju.ui - package ru.sstu.renju.ui
 
ru.sstu.renju.ui.renderers - package ru.sstu.renju.ui.renderers
 
run() - Method in class ru.sstu.renju.core.Game
 

S

setBlackPlayer(Player) - Method in class ru.sstu.renju.config.Config
 
setDelay(long) - Method in class ru.sstu.renju.core.Game
 
setGame(Game) - Method in class ru.sstu.renju.ui.GamePanel
 
setMove(Game, Move) - Method in class ru.sstu.renju.players.HumanPlayer
 
setMoveDelay(long) - Method in class ru.sstu.renju.config.Config
 
setRenderer(GameRenderer) - Method in class ru.sstu.renju.config.Config
 
setRenderer(GameRenderer) - Method in class ru.sstu.renju.ui.GamePanel
 
setWhitePlayer(Player) - Method in class ru.sstu.renju.config.Config
 
setWinner(GameResult.Winner) - Method in class ru.sstu.renju.core.GameResult
 
setWinnigRow(Row) - Method in class ru.sstu.renju.core.GameResult
 
shortList(int, int) - Static method in class ru.sstu.renju.core.RowUtil
Provides short list of rows that can start at given cell.
SimplePlayer - Class in ru.sstu.renju.players
SimplePlayer class is Player implementation with artificial intelligence.
SimplePlayer() - Constructor for class ru.sstu.renju.players.SimplePlayer
 
SIZE - Static variable in class ru.sstu.renju.core.Game
Game field size.
SIZE - Static variable in class ru.sstu.renju.core.Row
Row size to win the game.
stop() - Method in class ru.sstu.renju.core.Game
Stops the game.

T

toString() - Method in class ru.sstu.renju.core.Move
 
toString() - Method in class ru.sstu.renju.core.Row
 
toString() - Method in class ru.sstu.renju.players.HumanPlayer
 
toString() - Method in class ru.sstu.renju.players.RandomPlayer
 
toString() - Method in class ru.sstu.renju.players.SimplePlayer
 
toString() - Method in class ru.sstu.renju.ui.renderers.GameRenderer
 

U

update(Observable, Object) - Method in class ru.sstu.renju.ui.ConfigPanel
 
update(Observable, Object) - Method in class ru.sstu.renju.ui.GamePanel
 

V

valueOf(String) - Static method in enum ru.sstu.renju.core.CellType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ru.sstu.renju.core.GameResult.Winner
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum ru.sstu.renju.core.Row.Direction
Returns the enum constant of this type with the specified name.
values() - Static method in enum ru.sstu.renju.core.CellType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ru.sstu.renju.core.GameResult.Winner
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum ru.sstu.renju.core.Row.Direction
Returns an array containing the constants of this enum type, in the order they are declared.

B C D G H I L M N P R S T U V

Copyright © 2013 TFI branch of Engels Instutute of Technology. All Rights Reserved.