Skip to content

Commit

Permalink
Let game engine add this tracked property.
Browse files Browse the repository at this point in the history
  • Loading branch information
basicer committed Nov 10, 2016
1 parent 5694fea commit c7ddd1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/lib/world/thang.coffee
Expand Up @@ -28,7 +28,7 @@ module.exports = class Thang
constructor: (@world, @spriteName, @id) ->
@spriteName ?= @constructor.className
@id ?= @constructor.nextID @spriteName, @world
@addTrackedProperties ['exists', 'boolean'], ['variableNames', 'string'] # TODO: move into Systems/Components, too?
@addTrackedProperties ['exists', 'boolean'] # TODO: move into Systems/Components, too?
#console.log "Generated #{@toString()}."

destroy: ->
Expand Down

0 comments on commit c7ddd1d

Please sign in to comment.