moagg.artwork.object
Class BarrierImageFactory

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

public class BarrierImageFactory
extends AbstractImageFactory


Field Summary
 
Fields inherited from class moagg.artwork.object.AbstractImageFactory
EXT
 
Constructor Summary
BarrierImageFactory()
           
 
Method Summary
protected  java.awt.image.BufferedImage createImage(HVOrientation hvOrientation, int size, boolean activated)
           
 java.awt.image.BufferedImage[] getImages(HVOrientation hvOrientation, int size)
           
static BarrierImageFactory getInstance()
           
 int[][] getRGB(HVOrientation hvOrientation, int size)
          This method is part of a workaround for the big performance-decrease on Linux for the collision detection between ship/barrier.
 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

BarrierImageFactory

public BarrierImageFactory()
Method Detail

getInstance

public static BarrierImageFactory getInstance()

init

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

getImages

public java.awt.image.BufferedImage[] getImages(HVOrientation hvOrientation,
                                                int size)

createImage

protected java.awt.image.BufferedImage createImage(HVOrientation hvOrientation,
                                                   int size,
                                                   boolean activated)

getRGB

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



Copyright © 2008. All Rights Reserved.