|
|
@@ -278,13 +278,17 @@ To use the input controller, you need to implement the actionListener by testing
|
|
|
|
|
|
Make a mouse click trigger another animation sequence!
|
|
|
|
|
|
-. Create a second channel in the controller
|
|
|
-.. Create a new key trigger mapping and action (see: <<jme3/beginner/hello_input_system#,Hello Input>>)
|
|
|
-.. Tip: Do you want to find out what animation sequences are available in the model? Use:
|
|
|
+. Create a second channel in the controller.
|
|
|
+. Create a new key trigger mapping and action. (see: <<jme3/beginner/hello_input_system#,Hello Input>>)
|
|
|
+
|
|
|
+[TIP]
|
|
|
+====
|
|
|
+Do you want to find out what animation sequences are available in the model? Use:
|
|
|
[source,java]
|
|
|
----
|
|
|
for (String anim : control.getAnimationNames()) { System.out.println(anim); }
|
|
|
----
|
|
|
+====
|
|
|
|
|
|
|
|
|
|