# tiles.py
# All classes related to the organization and display of tiles.
# author: Andrew Martin (2006)
#
# TODO:
#    [] Comment all classes
#    [] Rename members that don't adhere to style guidelines
#    [] Review algorithms to determine if there is a more pythonic way
#    [] Review classes invluded in module for relevance to module
#

from cStringIO import StringIO
from pygame.locals import *
from zipfile import ZipFile
import configuration
import dataset
import gui
import imageutil
import os
import pygame
import xml.dom.minidom

class TileSelector(object):
    
    def __init__(self, scene):
        self.scene = scene
        self.app = gui.Application(backgroundColor=(200,200,200))
        self.app.keypress = self._appKeypressCb
        self.selectedTile = 0
        self._initComponents()