Adding functionality to TownSprite