megamek.client.ui.AWT.boardview3d
Class EntityModel

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

 class EntityModel
extends BranchGroup

Author:
jwalt

Field Summary
(package private)  Alpha alpha
           
(package private)  TransformGroup facing
           
(package private)  TransformGroup label
           
(package private)  TransformGroup mech
           
 
Constructor Summary
EntityModel(Entity entity, TileTextureManager tilesetManager, ViewTransform view, IGame game)
           
 
Method Summary
(package private) static double facing(int dir)
           
(package private) static double height(Entity entity)
           
(package private)  boolean isMoving()
           
(package private) static Vector3d labelLocation(IHex hex, Coords c, int elevation)
           
(package private) static Vector3d location(IHex hex, Coords c, int elevation, double height)
           
(package private)  void move(Entity entity, java.util.Vector<UnitLocation> movePath, IBoard gboard)
           
(package private) static double pitch(Entity entity)
           
(package private) static Vector3d scale(Entity entity)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

alpha

Alpha alpha

facing

TransformGroup facing

label

TransformGroup label

mech

TransformGroup mech
Constructor Detail

EntityModel

public EntityModel(Entity entity,
                   TileTextureManager tilesetManager,
                   ViewTransform view,
                   IGame game)
Method Detail

location

static final Vector3d location(IHex hex,
                               Coords c,
                               int elevation,
                               double height)

labelLocation

static final Vector3d labelLocation(IHex hex,
                                    Coords c,
                                    int elevation)

facing

static final double facing(int dir)

pitch

static final double pitch(Entity entity)

scale

static final Vector3d scale(Entity entity)

height

static final double height(Entity entity)

move

void move(Entity entity,
          java.util.Vector<UnitLocation> movePath,
          IBoard gboard)

isMoving

boolean isMoving()