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;
</pre>
-<p>Second step: initialize <code>SDL::App</code>:</p>
+<p>Second step: initialize <code>SDLx::App</code>:</p>
<pre>
- my $app = SDL::App->new(
- -title => "Lunar Lander",
- -width => 800,
- -height => 600,
- -depth => 32,
+ my $app = SDLx::App->new(
+ title => "Lunar Lander",
+ width => 800,
+ height => 600,
+ depth => 32,
);
<h1 id="COPYRIGHT_amp_LICENSE">COPYRIGHT & 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>