nl_tokens: Center an entity on a given point .
pl_tokens: function centerEntityOnPoint ( game , entity , point ) { var size = game . entities . getComponent ( entity , "size" ) ; var position = game . entities . addComponent ( entity , "position" ) ; position . x = point . x - ( size . width / 2 ) ; position . y = point . y - ( <mask> . height / 2 ) ; }