18 lines
194 B
C++
18 lines
194 B
C++
|
|
#pragma once
|
||
|
|
|
||
|
|
#include "node.h"
|
||
|
|
|
||
|
|
class Connection{
|
||
|
|
|
||
|
|
public:
|
||
|
|
Connection() {}
|
||
|
|
Connection(Node* from, Node* to) : from(from), to(to) {}
|
||
|
|
|
||
|
|
Node* from;
|
||
|
|
Node* to;
|
||
|
|
|
||
|
|
void draw(){
|
||
|
|
|
||
|
|
}
|
||
|
|
};
|