Mercurial > pavulon
changeset 29:1090d7e5537f
use new-style classes
| author | Radomir Dopieralski <sheep-devel@sheep.art.pl> |
|---|---|
| date | Sat, 20 Aug 2011 11:27:49 +0200 |
| parents | d07e7f798016 |
| children | 9edeb39f546b |
| files | qq.py |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/qq.py Sun Jun 05 23:28:07 2011 +0200 +++ b/qq.py Sat Aug 20 11:27:49 2011 +0200 @@ -31,7 +31,7 @@ # Dimensions of the map tiles MAP_TILE_WIDTH, MAP_TILE_HEIGHT = 24, 16 -class TileCache: +class TileCache(object): """Load the tilesets lazily into global cache""" def __init__(self, width=32, height=None): @@ -287,7 +287,7 @@ return self.get_bool(x, y, 'block') -class Game: +class Game(object): """The main game object.""" def __init__(self):
