|
@@ -5,7 +5,6 @@
|
|
|
<!--[if IE]><meta http-equiv="X-UA-Compatible" content="IE=edge"><![endif]-->
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
|
<meta name="generator" content="Asciidoctor 1.5.4">
|
|
|
-<meta name="author" content="8Keep123">
|
|
|
<title>Application States</title>
|
|
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,300italic,400,400italic,600,600italic%7CNoto+Serif:400,400italic,700,700italic%7CDroid+Sans+Mono:400,700">
|
|
|
<style>
|
|
@@ -514,9 +513,9 @@ table.CodeRay td.code>pre{padding:0}
|
|
|
<div id="header">
|
|
|
<h1>Application States</h1>
|
|
|
<div class="details">
|
|
|
-<span id="author" class="author">8Keep123</span><br>
|
|
|
+<span id="author" class="author"></span><br>
|
|
|
<span id="revnumber">version ,</span>
|
|
|
-<span id="revdate">2015/02/22 18:16</span>
|
|
|
+<span id="revdate">2016/03/17 20:48</span>
|
|
|
</div>
|
|
|
<div id="toc" class="toc2">
|
|
|
<div id="toctitle">Table of Contents</div>
|
|
@@ -703,7 +702,7 @@ Each AppState has its own update loop, which hooks into the main simpleUpdate()
|
|
|
<h2 id="appstate">AppState</h2>
|
|
|
<div class="sectionbody">
|
|
|
<div class="paragraph">
|
|
|
-<p>The AppState interface lets you initialize sets of objects, and hook a set of continously executing code into the main loop.</p>
|
|
|
+<p>The AppState interface lets you initialize sets of objects, and hook a set of continuously executing code into the main loop.</p>
|
|
|
</div>
|
|
|
<table class="tableblock frame-all grid-all spread">
|
|
|
<colgroup>
|
|
@@ -757,8 +756,8 @@ Each AppState has its own update loop, which hooks into the main simpleUpdate()
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="tableblock halign-left valign-top"><div><div class="paragraph">
|
|
|
-<p>setActive(true)<br>
|
|
|
-setActive(false)</p>
|
|
|
+<p>setEnabled(true)<br>
|
|
|
+setEnabled(false)</p>
|
|
|
</div></div></td>
|
|
|
<td class="tableblock halign-left valign-top"><div><div class="paragraph">
|
|
|
<p>Temporarily enables or disables an AppState. (See AbstractAppState)</p>
|
|
@@ -766,7 +765,7 @@ setActive(false)</p>
|
|
|
</tr>
|
|
|
<tr>
|
|
|
<td class="tableblock halign-left valign-top"><div><div class="paragraph">
|
|
|
-<p>isActive()</p>
|
|
|
+<p>isEnabled()</p>
|
|
|
</div></div></td>
|
|
|
<td class="tableblock halign-left valign-top"><div><div class="paragraph">
|
|
|
<p>Test whether AppState is enabled or disabled. Your implementation should consider the boolean. (See AbstractAppState)</p>
|
|
@@ -805,7 +804,7 @@ stateDetached(asm)</p>
|
|
|
<h2 id="abstractappstate">AbstractAppState</h2>
|
|
|
<div class="sectionbody">
|
|
|
<div class="paragraph">
|
|
|
-<p>The AbstractAppState class already implements some common methods (<code>isInitialized(), setActive(), isActive()</code>) and makes creation of custom AppStates a bit easier. We recommend you extend AbstractAppState and override the remaining AppState methods: <code>initialize(), setEnabled(), cleanup()</code>.</p>
|
|
|
+<p>The <a href="https://github.com/jMonkeyEngine/jmonkeyengine/blob/master/jme3-core/src/main/java/com/jme3/app/state/AbstractAppState.java">AbstractAppState</a> class already implements some common methods (<code>isInitialized(), setEnabled(), isEnabled()</code>) and makes creation of custom AppStates a bit easier. We recommend you extend AbstractAppState and override the remaining AppState methods: <code>initialize(), setEnabled(), cleanup()</code>.</p>
|
|
|
</div>
|
|
|
<div class="paragraph">
|
|
|
<p>Definition:</p>
|
|
@@ -986,7 +985,7 @@ stateDetached(asm)</p>
|
|
|
<div id="footer">
|
|
|
<div id="footer-text">
|
|
|
Version <br>
|
|
|
-Last updated 2016-05-28 20:11:36 UTC
|
|
|
+Last updated 2016-06-05 15:58:32 UTC
|
|
|
</div>
|
|
|
</div>
|
|
|
</body>
|