summaryrefslogtreecommitdiffstats
path: root/Project/Multiplier.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Project/Multiplier.cpp')
-rw-r--r--Project/Multiplier.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/Project/Multiplier.cpp b/Project/Multiplier.cpp
index e8708c9..a44f254 100644
--- a/Project/Multiplier.cpp
+++ b/Project/Multiplier.cpp
@@ -115,3 +115,10 @@ bool Multiplier::Solve(double input, double timeStep)
return true;
}
+
+Element* Multiplier::GetCopy()
+{
+ Multiplier* copy = new Multiplier(m_elementID);
+ *copy = *this;
+ return copy;
+}