Added getters and setters to MySprite class