for choice, action in enumerate(self.card.actions):
y_offset = self.prepare_action(choice, action, y_offset)
# We cheat horribly for layout reasons
for choice, action in enumerate(self.card.actions):
y_offset = self.prepare_action(choice, action, y_offset)
# We cheat horribly for layout reasons
- hint = TextBoxWidget((0, 0), HINTS[self.state.gameboard.player_mode],
- box_width=INFO_SIZE[0] // EIGHT_BIT_SCALE)
+ hint = TextBoxWidget((4, 0), HINTS[self.state.gameboard.player_mode],
+ padding=2,
+ box_width=(INFO_SIZE[0] - 4) // EIGHT_BIT_SCALE)
def prepare_action(self, choice, action, y_offset):
if action.required_bits:
def prepare_action(self, choice, action, y_offset):
if action.required_bits: