add a hack to deal with ACTV on compound agents in c1/c2
[openc2e.git] / Port.cpp
blob4ca9fb7e47d53c1b5045d3b6ebcddebcc1848ee5
1 #include "Port.h"
2 #include <string>
4 Port::Port(int _x, int _y, std::string _name, std::string _desc) {
5 x = _x; y = _y; name = _name; description = _desc;
8 InputPort::InputPort(int x, int y, std::string name, std::string desc, int _messageno):
9 Port(x, y, name, desc) {
10 messageno = _messageno;
11 sourceid = 0;
14 OutputPort::OutputPort(int x, int y, std::string name, std::string desc):
15 Port(x, y, name, desc) {