moagg.artwork.object
Class ThornImageFactory
java.lang.Object
moagg.artwork.object.AbstractImageFactory
moagg.artwork.object.ThornImageFactory
public class ThornImageFactory
- extends AbstractImageFactory
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 |
ThornImageFactory
public ThornImageFactory()
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.