projects
/
naja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix gamestate setup.
[naja.git]
/
naja
/
widgets
/
game_bits.py
diff --git
a/naja/widgets/game_bits.py
b/naja/widgets/game_bits.py
index 54fa6834623e36e6367a2054ea8db7f7d2471416..fdb10fcd72ba7ef94435697ed8fc26cc30fac0a5 100644
(file)
--- a/
naja/widgets/game_bits.py
+++ b/
naja/widgets/game_bits.py
@@
-2,7
+2,8
@@
Widget that holds the games's bits.
"""
Widget that holds the games's bits.
"""
-from .base import Widget
+from naja.constants import BIT_SIZE
+from naja.widgets.base import Widget
class GameBitsWidget(Widget):
class GameBitsWidget(Widget):
@@
-10,10
+11,11
@@
class GameBitsWidget(Widget):
Widget which holds the game's bits.
"""
def __init__(self, pos, image=None):
Widget which holds the game's bits.
"""
def __init__(self, pos, image=None):
- super(GameBitsWidget, self).__init__(pos,
(96, 96)
)
+ super(GameBitsWidget, self).__init__(pos,
BIT_SIZE
)
def prepare(self):
pass
def draw(self, surface):
def prepare(self):
pass
def draw(self, surface):
- surface.blit(self.surface, self.rect)
+ pass
+ #surface.blit(self.surface, self.rect)