added findDirection as a prototype method on the creep class for more efficient re-use