Permalink
Browse files

Move around variable declarations

  • Loading branch information...
1 parent 204f213 commit 54cece5b2e87cbf788d84bb9939a1156fbedb94f @jtpalmer committed Jan 10, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 lib/Games/Sokoban/SDL.pm
View
@@ -18,15 +18,17 @@ my $size = 32;
# Game state
my $grid;
-my @boxes;
# Player state
-my ( $player, $player_x, $player_y, $player_vx, $player_vy, $player_moving,
+my ( $player_x, $player_y, $player_vx, $player_vy, $player_moving,
$player_direction, $player_box );
# Surfaces
my ( $background, $wall, $box, $goal );
+# Sprites
+my ($player, @boxes);
+
# Share directory
my $share;

0 comments on commit 54cece5

Please sign in to comment.