Files
AdventuresInLestoria/Crawler/ConnectionPoint.h
T

14 lines
419 B
C++
Raw Normal View History

#include "olcUTIL_Geometry2D.h"
struct ConnectionPoint{
geom2d::rect<float>rect;
std::string name;
std::string map;
std::string unlockCondition;
std::array<int,4>neighbors; //Indices into the connectionPoint array.
ConnectionPoint(geom2d::rect<float>rect,std::string name,std::string map,std::string unlockCondition)
:rect(rect),name(name),map(map),unlockCondition(unlockCondition){
neighbors.fill(-1);
}
};