moagg.artwork.object
Class BarrierImageFactory
java.lang.Object
moagg.artwork.object.AbstractImageFactory
moagg.artwork.object.BarrierImageFactory
public class BarrierImageFactory
- extends AbstractImageFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BarrierImageFactory
public BarrierImageFactory()
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.