method resetAnimation() renomead to reset() and documentation comments updated.