Hi All,
First I want to apologize for my English.
I'm new to JME but not to Java.
According to JME's API the method SimpleUpdate is Called every frame. That means it is called according to the frame rate (As I understands it). If this method is somehow time dependent and I want to use KeyBindingManager that is event dependent why put KeyBindingManager inside simpleUpdate in other words why to put event dependent inside time method dependent ?
Thank u in advance
Eyal
You can create a class that extends KeyInputListener and attach this to the KeyInput listeners.
Something like.
KeyInputListener c= new KeyInputListener();
KeyInput.get().addListener©;
where class 'c' is the class that extends KeyInputListener.
This way you won't need to put any code inside SimpleUpdate or update method.