Logo Search packages:      
Sourcecode: filler version File versions  Download package

friendless::games::filler::FillerBoard Class Reference

Inheritance diagram for friendless::games::filler::FillerBoard:

friendless::games::filler::PopupFillerBoard

List of all members.


Detailed Description

A graphical component which is the array of hexagons.

Author:
John Farrell

Definition at line 28 of file FillerBoard.java.


Public Member Functions

void addNotify ()
int changeColourCountScore (FillerSpace space, int newColour, int origin, boolean fast)
int countScore (int origin, FillerSpace space)
 FillerBoard (FillerModel model)
Dimension getMinimumSize ()
Dimension getPreferredSize ()
void paintComponent (Graphics g)
Image resetOffscreenImage ()
void restart (boolean remoteGame)
void setBounds (int x, int y, int w, int h)

Protected Attributes

FillerModel model
Image off

Package Functions

void drawHex (Graphics g, Color c, int i)
void drawHexCentre (Graphics g, Color c, int p)
void drawLeft (Graphics g, Color c, Point n)
void drawRight (Graphics g, Color c, Point n)

Static Package Functions

 [static initializer]
static final Point bottomRight (int i)
static Color contrastingColour (Color c)
static final Point topLeft (int i)

Static Package Attributes

static Point[] botRights
static Point[] topLefts

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index