fixed a bug with hero class, renamed view to sprite