Skip to content

Commit

Permalink
Fix Map -> CellMap in World.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Herne committed Aug 5, 2015
1 parent 3661eef commit be33360
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions World.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@
import images
import coords
import MGO
from Map import Map
from CellMap import CellMap
from colors import *

TILESIZE = images.TILESIZE

class World:
def __init__(self, mapdict):
self.mapdef = mapdict
self.cellmap = Map(mapdict)
self.cellmap = CellMap(mapdict)

self.gemgos = []
for gemgo in MGO.GEMGOTYPES:
Expand Down Expand Up @@ -78,4 +78,4 @@ def update(self, geplayer):
self.rendervisible(geplayer, gemgosprites)

if geplayer.position in self.cellmap.burningtiles:
geplayer.score[collectables.CHOCOLATE] -= Map.CELLBURNINGCOST
geplayer.score[collectables.CHOCOLATE] -= CellMap.CELLBURNINGCOST

0 comments on commit be33360

Please sign in to comment.