diff options
Diffstat (limited to 'Project/ControlElement.h')
-rw-r--r-- | Project/ControlElement.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Project/ControlElement.h b/Project/ControlElement.h index 1e60f97..7d0e620 100644 --- a/Project/ControlElement.h +++ b/Project/ControlElement.h @@ -62,7 +62,8 @@ class ControlElement : public Element void SetNodeList(std::vector<Node*> nodeList) { m_nodeList = nodeList; } std::vector<Node*> GetNodeList() const { return m_nodeList; } virtual void DrawNodes() const; - + virtual void ReplaceNode(Node* oldNode, Node* newNode); + virtual void UpdateText() {} virtual bool IsSolved() const { return m_solved; } virtual void SetSolved(bool solved = true) { m_solved = solved; } virtual bool Solve(double input, double timeStep); |