org.deken.game.animation.imageFx
Class TranslucentImage

java.lang.Object
  extended by 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

Constructor Summary
TranslucentImage(float alpha)
           
 
Method Summary
 void draw(java.awt.Graphics2D graphics, java.awt.Image image, int x, int y)
           
 double getAlpha()
           
 void initialize(Animation animation)
           
 void setAlpha(float alpha)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TranslucentImage

public TranslucentImage(float alpha)
Method Detail

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)