X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=pages%2FSDL-Tutorial-LunarLander.html-inc;h=5904c466f877f60f1456529f1ce726d1301785cb;hb=c7e8d3c612049580c9a96b3006c4c89a00410643;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..5904c46 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, ); @@ -432,6 +432,7 @@ of the moon.COPYRIGHT & LICENSE
Copyright 2009 Nelson Ferraz, all rights reserved.
+Updated and maintained by the SDL Perl project. See AUTHORS in SDL.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.