added class texture and spriteAnimation