VASSAL.counters
Class Transparent
java.lang.Object
|
+--VASSAL.counters.Transparent
- public class Transparent
- extends java.lang.Object
A class that draws a GamePiece with a specifyable level of transparency
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Transparent
public Transparent(GamePiece p)
setPiece
public void setPiece(GamePiece p)
getPiece
public GamePiece getPiece()
setAlpha
public void setAlpha(double val)
draw
public void draw(java.awt.Graphics g,
int x,
int y,
java.awt.Component obs,
double zoom)