Added a string argument to Entity for the filename of the sprite. Moved selecting a tile's logic to a separate function and sanitized it with sfml functions.