Ok. I checked out all the SPGL modules. There are 2 files with problems.
In Spaghetti, net.puppygames.gui.MousePointer
/**
* Renders a mouse pointer at the current absolute mouse location.
* @author cas
*/
public class MousePointer extends Resource implements GLRenderable {
/** The animation delegate */
private final AnimationDelegate animationDelegate = new AnimationDelegate();
/** Animation is delegated here */
private class AnimationDelegate implements Animated {
...
I get the following error:
The type MousePointer.AnimationDelegate must implement the inherited abstract method Animated.
getLoop()
In SPGLExtra, com.shavenpuppy.jglib.sprites.IndexedSpriteEngine
private void writePositionBuffers(Sprite s)
{
final SpriteImage image = s.getImage();
assert (image != null);
final int w = image.getWidth();
final int h = image.getHeight();
final int scale = s.getScale(); // 8 bits fraction
s.getOffset(offset);
final int x = s.getX();
final int y = s.getY();
final int z = s.getZ();
I get the error:
The method getScale() is undefined for the type Sprite
I don’t know enough about this library to fix these myself yet.