1

I'm trying to change a BaseGame to a FixedFrameRateGame, and It's saying I need a public GameSettings getNewSettings() method. Now I tried filling out like this:

public GameSettings getNewSettings(){
        return null;
    }

it gives me a nullpointerexception when I try to run it.

William
  • 8,630
  • 23
  • 77
  • 110
  • 1
    The jMonkey developers don't frequent StackOverflow much. I suggest you visit the forum at jmonkeyengine.org and restate your query there. – Erlend Apr 12 '11 at 09:23

1 Answers1

1

I have not worked with JMonkeyEngine before, but you probably need to create an object that implements the GameSettings interface, in your class, and have it be initialized somewhere on the constructor of an object of that class.

In order for you to know what methods and functions the object you create that implements GameSettings interface will have to implement you can check the JMonkeyEngine API

Hope that helps.

Luis Miguel Serrano
  • 5,029
  • 2
  • 41
  • 41