diff options
Diffstat (limited to 'Project/Limiter.cpp')
-rw-r--r-- | Project/Limiter.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/Limiter.cpp b/Project/Limiter.cpp index cd76fba..8519482 100644 --- a/Project/Limiter.cpp +++ b/Project/Limiter.cpp @@ -96,3 +96,10 @@ bool Limiter::Solve(double input, double timeStep) return true; } + +Element* Limiter::GetCopy() +{ + Limiter* copy = new Limiter(m_elementID); + *copy = *this; + return copy; +} |