Skip to content

Commit

Permalink
deploy: a140bd1
Browse files Browse the repository at this point in the history
  • Loading branch information
miltoncandelero committed Jan 4, 2023
1 parent 53922e5 commit cb6e85d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2129,7 +2129,7 @@ <h2 id='the-manager-class'>The Manager Class</h2>
<span class="p">}</span>

<span class="c1">// This update will be called by a pixi ticker and tell the scene that a tick happened</span>
<span class="k">private</span> <span class="k">static</span> <span class="nx">update</span><span class="p">(</span><span class="nx">framesPassed</span><span class="p">):</span> <span class="k">void</span> <span class="p">{</span>
<span class="k">private</span> <span class="k">static</span> <span class="nx">update</span><span class="p">(</span><span class="nx">framesPassed</span><span class="p">:</span> <span class="kr">number</span><span class="p">):</span> <span class="k">void</span> <span class="p">{</span>
<span class="c1">// Let the current scene know that we updated it...</span>
<span class="c1">// Just for funzies, sanity check that it exists first.</span>
<span class="k">if</span> <span class="p">(</span><span class="nx">Manager</span><span class="p">.</span><span class="nx">currentScene</span><span class="p">)</span> <span class="p">{</span>
Expand Down Expand Up @@ -2165,7 +2165,7 @@ <h2 id='now-some-reruns-of-your-favorite-classes'>Now, some reruns of your favor
<p>Look at this buffed up <code>LoaderScene.ts</code> that now <code>implements IScene</code> and uses <code>Manager</code> to know its size!</p>
</blockquote>
<div class="highlight"><pre class="highlight typescript"><code><span class="k">import</span> <span class="p">{</span> <span class="nx">Container</span><span class="p">,</span> <span class="nx">Graphics</span><span class="p">,</span> <span class="nx">Assets</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">"</span><span class="s2">pixi.js</span><span class="dl">"</span><span class="p">;</span>
<span class="k">import</span> <span class="p">{</span> <span class="nx">assets</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">"</span><span class="s2">../assets</span><span class="dl">"</span><span class="p">;</span>
<span class="k">import</span> <span class="p">{</span> <span class="nx">manifest</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">"</span><span class="s2">../assets</span><span class="dl">"</span><span class="p">;</span>
<span class="k">import</span> <span class="p">{</span> <span class="nx">IScene</span><span class="p">,</span> <span class="nx">Manager</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">"</span><span class="s2">../Manager</span><span class="dl">"</span><span class="p">;</span>
<span class="k">import</span> <span class="p">{</span> <span class="nx">GameScene</span> <span class="p">}</span> <span class="k">from</span> <span class="dl">"</span><span class="s2">./GameScene</span><span class="dl">"</span><span class="p">;</span>

Expand Down

0 comments on commit cb6e85d

Please sign in to comment.