replaced spritesheet class with blatant copypasta