org.deken.game.animation.imageFx
Class TranslucentImage
java.lang.Object
org.deken.game.animation.imageFx.TranslucentImage
- All Implemented Interfaces:
- ImageEffect
public class TranslucentImage
- extends java.lang.Object
- implements ImageEffect
Title: TODO
Description: TODO
Copyright: Copyright (c) Sep 3, 2011
- Version:
- 1.0
- Author:
- Gary Deken
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TranslucentImage
public TranslucentImage(float alpha)
draw
public void draw(java.awt.Graphics2D graphics,
java.awt.Image image,
int x,
int y)
- Specified by:
draw
in interface ImageEffect
- Parameters:
graphics
- image
- x
- y
-
initialize
public void initialize(Animation animation)
- Specified by:
initialize
in interface ImageEffect
getAlpha
public double getAlpha()
setAlpha
public void setAlpha(float alpha)