[game] added dota maps
This commit is contained in:
@@ -84,6 +84,15 @@ class MapEditView extends SpriteView {
|
||||
width = mapWidth;
|
||||
height = mapHeight;
|
||||
}
|
||||
g.lineStyle(1, 0x007700);
|
||||
for (x in 0...map.gridWidth) {
|
||||
g.moveTo(x * map.cellWidth, 0);
|
||||
g.lineTo(x * map.cellWidth, mapHeight);
|
||||
}
|
||||
for (y in 0...map.gridHeight) {
|
||||
g.moveTo(0, y * map.cellHeight);
|
||||
g.lineTo(mapWidth, y * map.cellHeight);
|
||||
}
|
||||
}
|
||||
|
||||
override public function update():Void {
|
||||
|
||||
Reference in New Issue
Block a user