added clone functions for nodes
Since nodes are are extremely derivative types, we use a clone/copy function to produce new types of the derived class easily.
This commit is contained in:
@@ -32,7 +32,7 @@ class GapBlock : public Block
|
||||
public:
|
||||
GapBlock();
|
||||
|
||||
virtual Block * copy() override;
|
||||
virtual Node * copy() override;
|
||||
|
||||
virtual Type type() override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user