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

P

PIECE - Static variable in class bluegammon.Audio
Piece sound
PIECE_Z - Static variable in class bluegammon.gui.BoardCanvas
The 3d z depth of a piece lying on backgammon board
PLAYER_NAME - Static variable in class bluegammon.Bluegammon
Key for player name (char[])
PM_DEST - Static variable in class bluegammon.logic.BoardState
Possible move board destination index
PM_DICE - Static variable in class bluegammon.logic.BoardState
Possible move dice value index
PM_SOUR - Static variable in class bluegammon.logic.BoardState
Possible move board source index
POS_BOARD - Static variable in class bluegammon.logic.Board
Maximum index that is on the diagonals of a backgammon board
POS_GUARD - Static variable in class bluegammon.logic.Board
Index of a piece that is on guard
POS_OUT - Static variable in class bluegammon.logic.Board
Index of a piece that is out
PageItem - class bluegammon.gui.menu.PageItem.
The PageItem defines a choice in a MenuPage.
PageItem(char[], Image, ItemAction, MenuPage) - Constructor for class bluegammon.gui.menu.PageItem
Creates an item that is to be inserted into a MenuPage.
PageItem(char[], Image, ItemAction, MenuPage, int) - Constructor for class bluegammon.gui.menu.PageItem
Creates an item that is to be inserted into a MenuPage.
PieceMoveAnim - class bluegammon.gui.animation.PieceMoveAnim.
Animation of a piece moving from an source index to a destination index.
PieceMoveAnim(boolean, int, int, int, int) - Constructor for class bluegammon.gui.animation.PieceMoveAnim
Creates a new piece movement animation.
Player - class bluegammon.logic.Player.
Abstract class for a player.
Player() - Constructor for class bluegammon.logic.Player
 
PlayerListener - interface bluegammon.logic.PlayerListener.
Implementations of this class can be registered in the Player and will receive events upon player actions.
PlayerListenerProxy - class bluegammon.io.PlayerListenerProxy.
This class serializes all events from sent to a PlayerListener and sends them to specified output stream.
PlayerListenerProxy(DataOutputStream) - Constructor for class bluegammon.io.PlayerListenerProxy
Creates a new PlayerListenerProxy that sends received PlayerListener events via specified output stream.
Popup - class bluegammon.gui.popup.Popup.
The Popup represents a popup with text and zero or many alternatives that user can select among.
Popup() - Constructor for class bluegammon.gui.popup.Popup
Creates an uninitialized popup.
PopupCanvas - class bluegammon.gui.PopupCanvas.
Represents a canvas that can show popups.
PopupCanvas() - Constructor for class bluegammon.gui.PopupCanvas
 
PopupListener - interface bluegammon.gui.popup.PopupListener.
Implementations of this class are reported when users selects an alternative in a popup.
paint(Graphics) - Method in class bluegammon.gui.SoftButtonControl
Call this from the displayable a repaint is necessary to draw this control
paint(Graphics) - Method in class bluegammon.gui.animation.AbstractDicesAnim
 
paint(Graphics) - Method in class bluegammon.gui.animation.Animation
Draws the animation using the specified graphics context.
paint(Graphics) - Method in class bluegammon.gui.animation.AnimationEngine
Paints all animations on specified graphics context
paint(Graphics) - Method in class bluegammon.gui.animation.CommitMoveAnim
 
paint(Graphics) - Method in class bluegammon.gui.animation.CursorAnim
 
paint(Graphics) - Method in class bluegammon.gui.animation.DicesSelectTurnAnim
 
paint(Graphics) - Method in class bluegammon.gui.animation.PieceMoveAnim
 
paint(Graphics) - Method in class bluegammon.gui.animation.WinnerAnim
 
paint(Graphics) - Method in class bluegammon.gui.animation.WinnerPieceMoveAnim
 
paint(Graphics) - Method in class bluegammon.gui.menu.Menu
Call this from your displayable's paint method to paint the menu.
paint(Graphics) - Method in class bluegammon.gui.popup.Popup
Paints the popup.
paintMenu(Graphics, MenuPage, int, int, int, int) - Method in class bluegammon.gui.menu.DefaultMenuPainter
 
paintMenu(Graphics, MenuPage, int, int, int, int) - Method in interface bluegammon.gui.menu.MenuPainter
Paints a static menu.
paintTransition(Graphics, MenuPage, MenuPage, int, int, int, int, int, int, boolean) - Method in class bluegammon.gui.menu.DefaultMenuPainter
Calls paintMenu twice with the two pages, plus an x offset for each menu to visualize the transition.
paintTransition(Graphics, MenuPage, MenuPage, int, int, int, int, int, int, boolean) - Method in interface bluegammon.gui.menu.MenuPainter
Paints a transition between menus.
pieceMoved(boolean, int, int) - Method in class bluegammon.logic.BoardMediator
 
pieceMoved(boolean, int, int) - Method in interface bluegammon.logic.BoardStateListener
Called from BoardState whenever a piece is moved.
piecePlus() - Method in class bluegammon.gui.animation.WinnerAnim
Called from WinnerPieceMoveAnim when the piece has flyed beyond the screen.
playSound(int) - Static method in class bluegammon.Audio
Starts playing specified sound, one of Audio.MUSIC, Audio.DICES_LONG, Audio.DICES_SHORT, Audio.PIECE.
pretendServerClose() - Method in class bluegammon.io.BackgammonBTConnection
The BT server cannot be interrupted, so lets just pretend we close the server.

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