Range radii - Some cleanup

This commit is contained in:
Shrihari 2014-03-18 18:13:38 +05:30
parent 22af95e7b9
commit ea24ae2fd8
2 changed files with 1 additions and 2 deletions

View file

@ -23,7 +23,6 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
marks: null
labels: null
ranges: null
rangeValues: null
options:
resolutionFactor: 4
@ -65,7 +64,6 @@ module.exports = CocoSprite = class CocoSprite extends CocoClass
@marks = {}
@labels = {}
@ranges = []
@rangeValues = []
@handledAoEs = {}
@age = 0
@displayObject = new createjs.Container()

View file

@ -122,6 +122,7 @@ module.exports = class Mark extends CocoClass
visualRange: "rgba(0, 0, 145, #{alpha})"
attackRange: "rgba(145, 0, 0, #{alpha})"
# Fallback colors which work on both dungeon and grass tiles
extracolors = [
"rgba(145, 0, 145, #{alpha})"
"rgba(0, 145, 145, #{alpha})"