public override bool AddOutEdge(GameMasterNode nodeFile)
{
if (nodeFile.NodeType == GameMasterNodeType.ENCOUNTER)
{
EncounterNodeData encounterData = nodeFile.NodeData as EncounterNodeData;
if (encounterData.IsStartNode && !mEncounterFiles.Contains(nodeFile))
{
// can only add an edge between this and the encounter if the encounter is a start node
AddEncounter(encounterData);
return true;
}
}
return false;
}