moagg.artwork.object
Class ThornImageFactory

java.lang.Object
  extended by moagg.artwork.object.AbstractImageFactory
      extended by moagg.artwork.object.ThornImageFactory

public class ThornImageFactory
extends AbstractImageFactory


Field Summary
 
Fields inherited from class moagg.artwork.object.AbstractImageFactory
EXT
 
Constructor Summary
ThornImageFactory()
           
 
Method Summary
protected  java.awt.image.BufferedImage createImage(Orientation orientation, int size, int height)
           
 java.awt.image.BufferedImage[] getImages(Orientation orientation, int size)
           
static ThornImageFactory getInstance()
           
 int[][] getRGB(Orientation orientation, int size)
          This method is part of a workaround for the big performance-decrease on Linux for the collision detection between ship/thorn.
protected  int[] getRGB(Orientation orientation, int size, int height)
          This method is part of a workaround for the big performance-decrease on Linux for the collision detection between ship/thorn.
 void init(com.golden.gamedev.GameObject loader)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ThornImageFactory

public ThornImageFactory()
Method Detail

getInstance

public static ThornImageFactory getInstance()

init

public void init(com.golden.gamedev.GameObject loader)
Specified by:
init in class AbstractImageFactory

getImages

public java.awt.image.BufferedImage[] getImages(Orientation orientation,
                                                int size)

createImage

protected java.awt.image.BufferedImage createImage(Orientation orientation,
                                                   int size,
                                                   int height)

getRGB

public int[][] getRGB(Orientation orientation,
                      int size)
This method is part of a workaround for the big performance-decrease on Linux for the collision detection between ship/thorn.


getRGB

protected int[] getRGB(Orientation orientation,
                       int size,
                       int height)
This method is part of a workaround for the big performance-decrease on Linux for the collision detection between ship/thorn.



Copyright © 2008. All Rights Reserved.