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.
11 lines
296 B
11 lines
296 B
1 year ago
|
#include "State_OverworldMap.h"
|
||
|
|
||
|
bool ConnectionPoint::IsNeighbor(ConnectionPoint&testPoint){
|
||
|
for(int neighbor:neighbors){
|
||
|
if(neighbor!=-1){
|
||
|
ConnectionPoint&neighborCp=State_OverworldMap::ConnectionPointFromIndex(neighbor);
|
||
|
if(&neighborCp==&testPoint)return true;
|
||
|
}
|
||
|
}
|
||
|
return false;
|
||
|
}
|