// Copyright (c) 2022 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "Animation.hpp" using namespace Dawn; void Animation::restart() { this->time = 0; this->finished = false; } void Animation::clear() { this->duration = 0; }