X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Tutorial-LunarLander.html-inc;h=182132c501952ff70b671b9b254c7ed2b6dddcc7;hb=505f308d8b092747da8b2f5e9781475a1f06dfe8;hp=94199f492427f962000464a0bd3085b052cd5d8f;hpb=56d4907c407e8564b4a8a9d09e252573131fad3e;p=sdlgit%2FSDL-Site.git diff --git a/pages/SDL-Tutorial-LunarLander.html-inc b/pages/SDL-Tutorial-LunarLander.html-inc index 94199f4..182132c 100644 --- a/pages/SDL-Tutorial-LunarLander.html-inc +++ b/pages/SDL-Tutorial-LunarLander.html-inc @@ -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": -

Second step: initialize SDL::App:

+

Second step: initialize SDLx::App:

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