add sprite manager
path finding cost