Switching SceneItems to smarts
This commit is contained in:
17
archive/animation/Animation.cpp
Normal file
17
archive/animation/Animation.cpp
Normal file
@ -0,0 +1,17 @@
|
||||
// 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;
|
||||
}
|
Reference in New Issue
Block a user