     @tweens = []
 
   createGraphics: ->
-    color = @colorForThang(@thang.team, PAST_PATH_ALPHA)
-    @targetDotKey = @cachePathDot(10, color)
-    @pastDotKey = @cachePathDot(PAST_PATH_WIDTH, color)
+    @targetDotKey = @cachePathDot(TARGET_WIDTH, @colorForThang(@thang.team, TARGET_ALPHA))
+    @pastDotKey = @cachePathDot(PAST_PATH_WIDTH, @colorForThang(@thang.team, PAST_PATH_ALPHA))
     @futureDotKey = @cachePathDot(FUTURE_PATH_WIDTH, @colorForThang(@thang.team, FUTURE_PATH_ALPHA))
     
   cachePathDot: (width, color) ->

PAST_PATH_WIDTH = 5
FUTURE_PATH_ALPHA = 0.4
FUTURE_PATH_WIDTH = 2

Camera = require './Camera'
CocoClass = require 'lib/CocoClass'

module.exports = class TrailMaster extends CocoClass
  paths: null # dictionary of thang ids to containers for their paths
  pathDisplayObject: null
  world: null
  
  constructor: (@camera, @layerAdapter) ->

      
  createPastPath: ->
    return unless points = @world.pointsForThang @thang.id, @camera
    interval = Math.max(1, parseInt(@world.frameRate / PAST_PATH_INTERVAL_DIVISOR))
    params = { interval: interval, frameKey: @pastDotKey }
    return @createPath(points, params)

  createFuturePath: ->
    return unless points = @world.pointsForThang @thang.id, @camera
    interval = Math.max(1, parseInt(@world.frameRate / FUTURE_PATH_INTERVAL_DIVISOR))
    params = { interval: interval, animate: true, frameKey: @futureDotKey }
    return @createPath(points, params)

