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,
);