Remove unused code

This commit is contained in:
Andrew Miner
2015-08-25 21:37:10 -07:00
parent ea82518b0d
commit badb854107
3 changed files with 2 additions and 14 deletions
@@ -29,14 +29,6 @@ module.exports = class CraftingNode
queue.push child
return queue
getNode: (path)->
return null unless _.isArray(path) and path.length > 0
child = @children[path[0]]
return null unless child?
return child.getPath path[1..]
# Property Methods #############################################################################
getChildren: ->
@@ -62,9 +54,6 @@ module.exports = class CraftingNode
size += child.size
return size
getNodeType: ->
return @_nodeType
isValid: ->
return @_valid if @_valid?
@@ -80,7 +69,6 @@ module.exports = class CraftingNode
depth: { get:@prototype.getDepth }
size: { get:@prototype.getSize }
# Virtual Methods ##############################################################################
# Subclasses must override this method to create such children as are appropriate for that kind of node. The new