The open source repository for the action RPG game in development by Sig Productions titled 'Adventures in Lestoria'!
https://forums.lestoria.net
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
340 B
13 lines
340 B
1 year ago
|
#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);
|
||
|
}
|
||
|
};
|