Updated
[sdlgit/SDL-Site.git] / pages / SDL-Tutorial-LunarLander.html-inc
index 94199f4..5904c46 100644 (file)
@@ -301,7 +301,7 @@ this tutorial; Save these images in a subdirectory called "images":
 
        use SDL; #needed to get all constants
        use SDL::Video;
-       use SDL::App;
+       use SDLx::App;
        use SDL::Surface;
        use SDL::Rect;
        use SDL::Image;
@@ -313,18 +313,18 @@ this tutorial; Save these images in a subdirectory called "images":
 
 
 </pre>
-<p>Second step: initialize <code>SDL::App</code>:</p>
+<p>Second step: initialize <code>SDLx::App</code>:</p>
 <pre>
 
 
 
 
 
-    my $app = SDL::App-&gt;new(
-        -title  =&gt; &quot;Lunar Lander&quot;,
-        -width  =&gt; 800,
-        -height =&gt; 600,
-        -depth  =&gt; 32,
+    my $app = SDLx::App-&gt;new(
+        title  =&gt; &quot;Lunar Lander&quot;,
+        width  =&gt; 800,
+        height =&gt; 600,
+        depth  =&gt; 32,
     );
 
 
@@ -432,6 +432,7 @@ of the moon.</p>
 <h1 id="COPYRIGHT_amp_LICENSE">COPYRIGHT &amp; LICENSE</h1><p><a href="#TOP" class="toplink">Top</a></p>
 <div id="COPYRIGHT_amp_LICENSE_CONTENT">
 <p>Copyright 2009 Nelson Ferraz, all rights reserved.</p>
+<p>Updated and maintained by the SDL Perl project. See <b>AUTHORS</b> in <cite>SDL</cite>.</p>
 <p>This program is free software; you can redistribute it and/or modify it
 under the same terms as Perl itself.</p>