mitm001 5 rokov pred
rodič
commit
3df87d00fc

+ 1 - 6
docs/modules/tutorials/pages/beginner/hello_input_system.adoc

@@ -370,12 +370,7 @@ inputManager.addMapping("Pause",  new KeyTrigger(usersPauseKey));
 TIP: Use xref:ROOT:jme3/faq.adoc#how-do-i-switch-between-third-person-and-first-person-view[flyCam.setEnabled(false);]
 
 
-[IMPORTANT]
-====
-Link to user-proposed solutions: <<beginner/solutions.adoc#hello-input,Some proposed solutions>> +
-+++<u>Be sure to try to solve them for yourself first!</u>+++
-====
-
+include::partial$proposed-solution-important.adoc[]
 
 
 == Conclusion

+ 1 - 6
docs/modules/tutorials/pages/beginner/hello_main_event_loop.adoc

@@ -123,12 +123,7 @@ Here are some fun things to try:
 Look back at the xref:beginner/hello_node.adoc[Hello Node] tutorial if you do not remember the transformation methods for scaling, translating, and rotating.
 
 
-[IMPORTANT]
-====
-Link to user-proposed solutions: <<beginner/solutions.adoc#hello-update-loop,Some proposed solutions>> +
-+++<u>Be sure to try to solve them for yourself first!</u>+++
-====
-
+include::partial$proposed-solution-important.adoc[]
 
 
 == Conclusion

+ 1 - 6
docs/modules/tutorials/pages/beginner/hello_picking.adoc

@@ -382,12 +382,7 @@ Change the code as follows to simulate the player picking up objects into the in
 **  Position the nodes: The bottom left corner of the HUD is (0f,0f), and the top right corner is at (settings.getWidth(),settings.getHeight()).
 
 
-
-[IMPORTANT]
-====
-Link to user-proposed solutions: <<jme3/beginner/solutions#,jme3:solutions>> +
-+++<u>Be sure to try to solve them for yourself first!</u>+++
-====
+include::partial$proposed-solution-important.adoc[]
 
 
 

+ 5 - 0
docs/modules/tutorials/partials/proposed-solutions-important.adoc

@@ -0,0 +1,5 @@
+[IMPORTANT]
+====
+Link to user-proposed solutions: <<beginner/solutions.adoc#hello-picking,Some proposed solutions>> +
++++<u>Be sure to try to solve them for yourself first!</u>+++
+====