2023-10-29 17:00:54 -05:00
|
|
|
#include "olcUTIL_Geometry2D.h"
|
2023-10-29 14:50:22 -05:00
|
|
|
|
|
|
|
|
struct ConnectionPoint{
|
2023-10-29 17:00:54 -05:00
|
|
|
geom2d::rect<float>rect;
|
|
|
|
|
std::string name;
|
2023-10-29 14:50:22 -05:00
|
|
|
std::string map;
|
|
|
|
|
std::string unlockCondition;
|
|
|
|
|
std::array<int,4>neighbors; //Indices into the connectionPoint array.
|
2023-10-29 17:00:54 -05:00
|
|
|
ConnectionPoint(geom2d::rect<float>rect,std::string name,std::string map,std::string unlockCondition)
|
|
|
|
|
:rect(rect),name(name),map(map),unlockCondition(unlockCondition){
|
2023-10-29 14:50:22 -05:00
|
|
|
neighbors.fill(-1);
|
|
|
|
|
}
|
|
|
|
|
};
|