AdventuresInLestoria/Crawler/ConnectionPoint.h

13 lines
340 B
C++

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