changeset 12:9dc97f88e274 default tip

Added CC0 license
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Sun, 08 Jul 2012 19:56:38 +0200
parents 472dc6b3f354
children
files 003/004.py LICENSE
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/003/004.py	Tue Jul 03 07:01:48 2012 +0200
+++ b/003/004.py	Sun Jul 08 19:56:38 2012 +0200
@@ -129,7 +129,8 @@
             if event.type == pg.QUIT:
                 self.quit()
             elif event.type == pg.KEYDOWN:
-                self.key = event.key
+                #self.key = event.key
+                pass
         if not self.hero_sprite.animations:
             keys = pygame.key.get_pressed()
             for key, action in self.keys.iteritems():
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/LICENSE	Sun Jul 08 19:56:38 2012 +0200
@@ -0,0 +1,4 @@
+To the extent possible under law, Radomir Dopieralski has waived all copyright
+and related or neighboring rights to "Hands on with PyGame".
+
+See http://creativecommons.org/publicdomain/zero/1.0/ for details.