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
/
player_bits.py
diff --git
a/naja/widgets/player_bits.py
b/naja/widgets/player_bits.py
index e82f173df4cb0d0e5a84c1c6b2ee0132d5f63bc7..70d5d1183a480c25f05d4e6a6fe17799f142ba51 100644
(file)
--- a/
naja/widgets/player_bits.py
+++ b/
naja/widgets/player_bits.py
@@
-2,7
+2,8
@@
Widget that holds the player's bits.
"""
Widget that holds the player's bits.
"""
-from .base import Widget
+from naja.constants import BIT_SIZE
+from naja.widgets.base import Widget
class PlayerBitsWidget(Widget):
class PlayerBitsWidget(Widget):
@@
-10,10
+11,11
@@
class PlayerBitsWidget(Widget):
Widget which holds the player's bits.
"""
def __init__(self, pos, image=None):
Widget which holds the player's bits.
"""
def __init__(self, pos, image=None):
- super(PlayerBitsWidget, self).__init__(pos,
(96, 96)
)
+ super(PlayerBitsWidget, 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)