Animation2D: add save function, rename member functions.