megamek.client.ui.AWT.boardview3d
Class HoverInfo
java.lang.Object
megamek.client.ui.AWT.boardview3d.HoverInfo
- All Implemented Interfaces:
- IDisplayable
class HoverInfo
- extends java.lang.Object
- implements IDisplayable
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
game
IGame game
entity
Entity entity
equipment
Mounted equipment
localPlayer
Player localPlayer
coords
Coords coords
los
Coords los
sources
java.util.HashMap<java.lang.Integer,java.util.Vector<java.lang.String>> sources
destinations
java.util.HashMap<java.lang.Integer,java.util.Vector<java.lang.String>> destinations
HoverInfo
public HoverInfo(IGame g,
BoardView3D bv)
draw
public void draw(java.awt.Graphics g,
java.awt.Rectangle rect)
- Description copied from interface:
IDisplayable
- Draw this IDisplayable
- Specified by:
draw in interface IDisplayable
- Parameters:
g - - the Graphics to draw on
setPosition
void setPosition(Coords c)
setLOS
void setLOS(Coords c1)
getLOS
Coords getLOS()
setSelected
void setSelected(Entity en,
Mounted eq,
Player pl)
add
public void add(AttackAction aa)
remove
public void remove(Entity entity)
clear
public void clear()
update
public void update()
setIdleTime
public void setIdleTime(long timeIdle,
boolean add)
- Specified by:
setIdleTime in interface IDisplayable
isHit
public boolean isHit(java.awt.Point p,
java.awt.Dimension size)
- Specified by:
isHit in interface IDisplayable
isMouseOver
public boolean isMouseOver(java.awt.Point p,
java.awt.Dimension size)
- Specified by:
isMouseOver in interface IDisplayable
isSliding
public boolean isSliding()
- Specified by:
isSliding in interface IDisplayable
slide
public boolean slide()
- Specified by:
slide in interface IDisplayable
isDragged
public boolean isDragged(java.awt.Point p,
java.awt.Dimension size)
- Specified by:
isDragged in interface IDisplayable
isBeingDragged
public boolean isBeingDragged()
- Specified by:
isBeingDragged in interface IDisplayable
isReleased
public boolean isReleased()
- Specified by:
isReleased in interface IDisplayable