Class MBoard

java.lang.Object
   |
   +----java.awt.Component
           |
           +----java.awt.Canvas
                   |
                   +----Board
                           |
                           +----MBoard

class MBoard
extends Board
MBoard Mancala's Board If you need more information on how it works have look to TBoard.java which is higly documented

Version:
1.0b1 25/04/98

Variable Index

 o b06W
 o b13W
 o bbH
 o bbP
 o bD
 o bdW
 o bhH
 o billes
 o horizBoard
 o myH
 o myW
 o pict
 o pictName
 o rFM
 o rFont
 o tab

Constructor Index

 o MBoard()
Constructror

Method Index

 o doBol(int, int, int, Graphics)
 o getClickValue(int, int)
this method should be overwriten, this is from where you give the value of the click to Game Panel
 o init(Gpanel)
initialization of the Board this method is called only once, at the start of the Game.
 o paintBoard(Graphics)
This method must be overwriten by the Game Board, this where you draw the board

Variables

 o tab
 int tab[]
 o myW
 int myW
 o myH
 int myH
 o horizBoard
 boolean horizBoard
 o b13W
 int b13W
 o b06W
 int b06W
 o bdW
 int bdW
 o bhH
 int bhH
 o bbH
 int bbH
 o bbP
 int bbP
 o bD
 int bD
 o rFont
 Font rFont
 o rFM
 FontMetrics rFM
 o pictName
 String pictName
 o pict
 Image pict
 o billes
 Image billes[]

Constructors

 o MBoard
 public MBoard()
Constructror

Methods

 o init
 public void init(Gpanel o)
initialization of the Board this method is called only once, at the start of the Game.

Overrides:
init in class Board
 o paintBoard
 public void paintBoard(Graphics gr)
This method must be overwriten by the Game Board, this where you draw the board

Overrides:
paintBoard in class Board
 o doBol
 public void doBol(int bol,
                   int x,
                   int y,
                   Graphics gr)
 o getClickValue
 public void getClickValue(int x,
                           int y)
this method should be overwriten, this is from where you give the value of the click to Game Panel

Overrides:
getClickValue in class Board