export class Animation extends GameObject { constructor({ frames = [], name, x = 0, y = 0 }) { super({ x, y }); this.frames = frames; this.name = name; } }