Przeglądaj źródła

Update best_practices.adoc

Fixed broken tip under The Smart Way to Add Custom Methods and Fields.
mitm001 9 lat temu
rodzic
commit
e3265db473

+ 1 - 3
src/docs/asciidoc/jme3/intermediate/best_practices.adoc

@@ -193,12 +193,10 @@ Example: Players have *methods* such as `walk(), addGold(), getHealth(), pickUpI
 
 [TIP]
 ====
- *Follow the Best Practice:* In general, use composition over inheritance and keep “what an entity does (behaviour system) separate from “what this entity is (attributes).
+*Follow the Best Practice:* In general, use composition over inheritance and keep “what an entity does (behaviour system) separate from “what this entity is (attributes).
 
 *  Use `<<jme3/advanced/spatial#,setUserData()>>` to add custom attributes to Spatials.
 *  Use <<jme3/advanced/custom_controls#,Controls>> and <<jme3/advanced/application_states#,Application States>> to define custom behaviour systems.
-
-
 ====