board.gain_health()
if not self.check_and_clear_MSB(board.player):
board.player.bits.clear_bits(location.bitwise_operand)
+
+
+class ShiftLocations(LocationAction):
+ # TODO: Direction parameter in TEXT.
+ TEXT = "Shift board locations."
+
+ def perform_action(self, board, location):
+ board.shift_locations(self.data['direction'])