aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--helpers.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/helpers.py b/helpers.py
index 6a2ed6f..76f9939 100644
--- a/helpers.py
+++ b/helpers.py
@@ -1,3 +1,4 @@
1# -*- coding: utf-8 -*-
1from pygame import * 2from pygame import *
2from math import pi 3from math import pi
3 4
@@ -62,7 +63,7 @@ class Key:
62 background_surface.blit(self.surface, self.position) 63 background_surface.blit(self.surface, self.position)
63 64
64 def do_actions(self): 65 def do_actions(self):
65 print("coucou" + self.key_sym) 66 print("coucou " + self.key_sym)
66 pass 67 pass
67 68
68keys = { 69keys = {
@@ -181,7 +182,7 @@ class RoundedRect:
181 self.radius = radius 182 self.radius = radius
182 183
183 def surface(self): 184 def surface(self):
184 rectangle = filledRoundedRect(self.rect, self.outer_color, self.radius) 185 rectangle = self.filledRoundedRect(self.rect, self.outer_color, self.radius)
185 186
186 inner_rect = Rect(( 187 inner_rect = Rect((
187 self.rect.left + 2 * self.linewidth, 188 self.rect.left + 2 * self.linewidth,