Implemented different sprites changing with the direction