On 15 September 2010 05:31, JonnyB <stoned-jo...@gmx.net> wrote:
> Thank you very much, for your quick reply! At least, i can be sure
> now, that in principle it should be working.
>
> What i wanna do is wrap the jMonkeyEngine3.
> The hello world example (http://jmonkeyengine.org/wiki/doku.php/
> jme3:beginner:hello_simpleapplication)
> works fine (code below).
>
> But when i add the addControls function  (commented in code below)
> from the
> input example (http://jmonkeyengine.org/wiki/doku.php/
> jme3:beginner:hello_input_system).
> I get the following error:
>
>
> Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
> java.lang.ClassCastException: Cannot cast
> com.jme3.input.controls.KeyTrigger to
> [Lcom.jme3.input.controls.Trigger;

"[L..." is an array of ..., so it looks like you need to create a Java
array to give it.

-- 
Michael Wood <esiot...@gmail.com>

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to