Răsfoiți Sursa

fixed or removed broken emoji.

mitm 5 ani în urmă
părinte
comite
bfcac26e8a
1 a modificat fișierele cu 13 adăugiri și 16 ștergeri
  1. 13 16
      src/docs/asciidoc/jme3/scripting.adoc

+ 13 - 16
src/docs/asciidoc/jme3/scripting.adoc

@@ -10,7 +10,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 *Monkeys*,
 
-For anyone who still ask for something like *“Scripting” with JME3*, here is it, about it at once!
+For anyone who still ask for something like *"`Scripting with JME3`"*, here is it, about it at once!
 
 We nearly reach 3.0, i’m so excited about it and want to write something for it. In this post you will have a good run from Zero to Hero with Groovy and Monkey :p
 Not kidding!
@@ -25,7 +25,7 @@ image::wiki/stll_monkey_typing.jpg[100,width="",height="",align="right"]
 *Quick question*: What this related to my other tuts emoji:confused[] ? +
 
 pass:[[atomixtuts]]
-*Answer*: As I wrote the others, I thought I should write this first, because if no one know about Groovy, no one can understand a single line of my code emoji:confused , and it’s bad!
+*Answer*: As I wrote the others, I thought I should write this first, because if no one know about Groovy, no one can understand a single line of my code emoji:confused[] , and it’s bad!
 ====
 
 
@@ -105,7 +105,7 @@ link:http://en.wikipedia.org/wiki/Groovy_%28programming_language%29[http://en.wi
 
 *  Most valid Java files are also valid Groovy files. Although the two languages are similar, Groovy code can be more compact, because it does not require all the elements that Java requires. This makes it possible for Java programmers to gradually learn Groovy by starting with familiar Java syntax before acquiring more Groovy idioms.
 
-*  Groovy features not available in Java include both static and dynamic typing (with the def keyword), closures, operator overloading, native syntax for lists and associative arrays (maps), native support for regular expressions, polymorphic iteration, expressions embedded inside strings, additional helper methods, and the safe navigation operator “?. to automatically check for nulls (for example, “variable?.method(), or “variable?.field).
+*  Groovy features not available in Java include both static and dynamic typing (with the def keyword), closures, operator overloading, native syntax for lists and associative arrays (maps), native support for regular expressions, polymorphic iteration, expressions embedded inside strings, additional helper methods, and the safe navigation operator "`?`". to automatically check for nulls (for example, "`variable?.method()`", or "`variable?.field)`".
 
 *  Since version 2 Groovy also supports modularity, being able to ship only the needed jars according to the project needs, thus reducing the size of groovy's lib, type checking, static compilation, Project Coin syntax enhancements, multicatch blocks and ongoing performance enhancements using JDK7's invoke dynamic instruction.
 
@@ -123,7 +123,7 @@ link:http://groovy-lang.org/Download?nc[http://groovy-lang.org/Download?nc]
 
 === WHAT CAN BE SCRIPT
 
-*_or “TO SCRIPT OR NOT TO SCRIPT, is the PROBLEM”?_*
+*_or "`TO SCRIPT OR NOT TO SCRIPT, is the PROBLEM`"?_*
 
 *Everything*.
 You can do almost every thing with Groovy just like with Java.
@@ -167,12 +167,12 @@ So, as the question had been asked by a forum's member:
 
 [IMPORTANT]
 ====
-Heh. I’d love to go Groovy myself, but I’ve been finding it very hard for me to explore the set of methods that a passed-in object supports.emoji:
+Heh. I’d love to go Groovy myself, but I’ve been finding it very hard for me to explore the set of methods that a passed-in object supports.
 ====
 
 *Answer:*
 
-From my experience, just ask you self, how “natural” your code are coded, in *OOP* sense:
+From my experience, just ask you self, how "`natural`" your code are coded, in *OOP* sense:
 
 *Chicken.eat(rice)*
 _You know what methods and their parameter’s type, and name._
@@ -183,7 +183,7 @@ _You know what common in classes in a package. Without knowing the inheritance a
 *Human.eat([chicken,rice,banana])*
 _You can guess Human are derivated from Monkey and code are coded flexible, ex: methods are multi-type, optional param. etc…_
 
-If it have that level of “natural” sense, you don’t have to learn by heart at all, so use scripting in the situation.
+If it have that level of "`natural`" sense, you don’t have to learn by heart at all, so use scripting in the situation.
 
 In other hand, this very related to IDE support for such language. If you watch closely, Groovy going to have better support in Netbean:
 
@@ -215,8 +215,8 @@ GOTO <<jme3/scripting/groovy_learn#,groovy_learn>>
 
 === Groovy – for smarty
 
-emoji:*So, what you can do with Groovy?*
-emoji: everything, even get laid! emoji:open_mouth
+*So, what you can do with Groovy?*
+everything, even get laid! emoji:open-mouth[]
 
 I means use your imagination. I give you some examples:
 
@@ -411,28 +411,26 @@ Builder
 
 ==== Pattern Matching
 
-Regexp emoji:
+Regexp
 
 
 ==== Simple Chatbot
 
-Builder + Closure emoji:
+Builder + Closure
 
 
 ==== Simple Goalbase Agent
 
-emoji:
+
 
 
 ==== Simple Path finding
 
 Use Groovy extension
-emoji:
 
 
 ==== Simple Steering behavior
 
-emoji:
 
 
 === Build Script with Groovy
@@ -443,7 +441,6 @@ link:http://www.gradle.org/[http://www.gradle.org/]
 
 Check this out:
 For JME3 Desktop:
-emoji:
 
 For JME3 Android:
 link:http://tools.android.com/tech-docs/new-build-system/user-guide[http://tools.android.com/tech-docs/new-build-system/user-guide]
@@ -494,7 +491,7 @@ GOTO <<jme3/advanced/atom_framework/codegen#,codegen>>
 
 == CONCLUSION
 
-After reading for a while, I guess you are in love with Groovy already. You're welcome! emoji:sunglasses
+After reading for a while, I guess you are in love with Groovy already. You're welcome! emoji:sunglasses[]
 
 [WARNING]
 ====