Skip to content
Browse files

adding absent subref, and moar comments!

  • Loading branch information...
1 parent 4591337 commit 64d9b42aacb03f89a710cef998c8e2483ebc80e3 @garu garu committed
Showing with 7 additions and 0 deletions.
  1. +3 −0 TODO
  2. +4 −0 solitaire.pl
View
3 TODO
@@ -0,0 +1,3 @@
+(hard) card dragging should be smoother
+(easy) released card shouldn't have to be *exactly* in destination spot
+(easy) card sound!
View
4 solitaire.pl
@@ -129,6 +129,8 @@ sub game
on_drag => sub {
},
on_drop => sub {
+ # @selected_cards contains whatever set
+ # of cards the player is moving around
if(scalar @selected_cards) {
my @selected_cards_ = ();
push(@selected_cards_, $_->foreground) for @selected_cards;
@@ -218,6 +220,8 @@ sub game
},
on_mousemove => sub {
},
+ on_keydown => sub {
+ },
};
while($loop) {

0 comments on commit 64d9b42

Please sign in to comment.
Something went wrong with that request. Please try again.