Fixed some stuff, procrastinating the real problem
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
from OpenGL.GL import *
|
||||
from dusk.defs import defs
|
||||
from editortool.map.mapdefs import TILE_WIDTH, TILE_HEIGHT, TILE_DEPTH
|
||||
|
||||
class Grid:
|
||||
def __init__(self, lines=1000):
|
||||
self.cellWidth = float(defs.get('TILE_WIDTH'))
|
||||
self.cellHeight = float(defs.get('TILE_HEIGHT'))
|
||||
self.cellWidth = TILE_WIDTH
|
||||
self.cellHeight = TILE_HEIGHT
|
||||
self.lines = lines
|
||||
self.enabled = True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user