Added setRotation method and collided property to sprite.