megamek.client.ui.AWT.boardview3d
Class BoardModel

java.lang.Object
  extended by BranchGroup
      extended by megamek.client.ui.AWT.boardview3d.BoardModel

 class BoardModel
extends BranchGroup


Field Summary
(package private) static double BATTLEARMOR_HEIGHT
           
(package private) static BoundingSphere bounds
           
(package private)  IGame game
           
(package private)  int h
           
(package private) static double HEX_DIAMETER
           
(package private) static double HEX_HEIGHT
           
(package private) static double HEX_SIDE_LENGTH
           
(package private)  Material highlight
           
(package private)  ColorInterpolator highlightEffect
           
(package private) static double INFANTRY_HEIGHT
           
(package private)  boolean isDeploying
           
(package private) static int KEEP
           
(package private) static Color3f LAND
           
(package private)  SharedGroup[] shared
           
(package private) static Color3f SKY
           
(package private)  TileTextureManager tileManager
           
(package private) static double UNIT_SIZE
           
(package private)  SimpleUniverse universe
           
(package private)  int w
           
(package private) static double WRECK_HEIGHT
           
 
Constructor Summary
BoardModel(TileTextureManager t, SimpleUniverse u, IGame g)
           
 
Method Summary
(package private) static Point3d getHexLocation(Coords c, int level)
           
 void resetBoard()
           
 void showDeployment(Player deployer)
           
(package private)  void update(Coords c, IHex hex, Player player)
           
(package private)  void update(Player player)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEX_DIAMETER

static final double HEX_DIAMETER
See Also:
Constant Field Values

HEX_HEIGHT

static final double HEX_HEIGHT
See Also:
Constant Field Values

HEX_SIDE_LENGTH

static final double HEX_SIDE_LENGTH

UNIT_SIZE

static final double UNIT_SIZE
See Also:
Constant Field Values

WRECK_HEIGHT

static final double WRECK_HEIGHT
See Also:
Constant Field Values

INFANTRY_HEIGHT

static final double INFANTRY_HEIGHT
See Also:
Constant Field Values

BATTLEARMOR_HEIGHT

static final double BATTLEARMOR_HEIGHT
See Also:
Constant Field Values

bounds

static final BoundingSphere bounds

SKY

static final Color3f SKY

LAND

static final Color3f LAND

tileManager

TileTextureManager tileManager

universe

SimpleUniverse universe

game

IGame game

isDeploying

boolean isDeploying

w

int w

h

int h

highlight

Material highlight

highlightEffect

ColorInterpolator highlightEffect

shared

SharedGroup[] shared

KEEP

static final int KEEP
See Also:
Constant Field Values
Constructor Detail

BoardModel

public BoardModel(TileTextureManager t,
                  SimpleUniverse u,
                  IGame g)
Method Detail

getHexLocation

static final Point3d getHexLocation(Coords c,
                                    int level)

update

void update(Player player)

update

void update(Coords c,
            IHex hex,
            Player player)

showDeployment

public void showDeployment(Player deployer)

resetBoard

public void resetBoard()