The current game state.
"""
-from .constants import BITS
-from .gameboard import GameBoard
-from .player import Player
+from naja.constants import BITS
+from naja.gameboard import GameBoard
+from naja.player import Player
class GameState(object):
"""
from naja.constants import BOARD_SIZE, TILE_SIZE
-
-from .base import Widget
-from .tile import TileWidget
+from naja.widgets.base import Widget
+from naja.widgets.tile import TileWidget
class BoardWidget(Widget):
"""
from naja.constants import BIT_SIZE
-
-from .base import Widget
+from naja.widgets.base import Widget
class GameBitsWidget(Widget):
from naja.constants import INFO_SIZE
-from .base import Widget
+from naja.widgets.base import Widget
class InfoAreaWidget(Widget):
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):
-from naja.constants import TILE_SIZE
-from naja.resources import resources
-
-from .base import Widget
-
# These will probably need to go away when we have images
import pygame
import pygame.locals as pgl
+from naja.constants import TILE_SIZE
+from naja.resources import resources
+from naja.widgets.base import Widget
+
class TileWidget(Widget):
"""Widget which holds a tile on the game board."""