Kerbal Space Program  1.12.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Public Member Functions | Properties | List of all members
Expansions.Missions.Flow.MEPath Class Reference

A path through a mission More...

Inheritance diagram for Expansions.Missions.Flow.MEPath:
IConfigNode

Public Member Functions

void AddNodes (List< MENode > addNodes)
 Add a list of nodes to the path More...
 
MEPath Clone ()
 Make a copy of this path More...
 
bool GetConvergence (MEPath target, out MEFlowConvergence c, int minHops=0)
 Find the Convergence point of two paths More...
 
void Load (ConfigNode node)
 
 MEPath (Mission mission)
 
 MEPath (MENode firstNode)
 
void Save (ConfigNode node)
 

Properties

MENode First [get]
 The first node in the path More...
 
List< MENodeNodes [get, set]
 

Detailed Description

A path through a mission

Constructor & Destructor Documentation

Expansions.Missions.Flow.MEPath.MEPath ( Mission  mission)
inline
Expansions.Missions.Flow.MEPath.MEPath ( MENode  firstNode)
inline

Member Function Documentation

void Expansions.Missions.Flow.MEPath.AddNodes ( List< MENode addNodes)
inline

Add a list of nodes to the path

Parameters
addNodeslist of nodes
MEPath Expansions.Missions.Flow.MEPath.Clone ( )
inline

Make a copy of this path

Returns
bool Expansions.Missions.Flow.MEPath.GetConvergence ( MEPath  target,
out MEFlowConvergence  c,
int  minHops = 0 
)
inline

Find the Convergence point of two paths

Parameters
targetThe path to compare against this one
cThe output object that contains the convergence info
minHopsThe number of hops along this path to start looking for the convergence point after
Returns
True if the paths do converge
void Expansions.Missions.Flow.MEPath.Load ( ConfigNode  node)
inline

Implements IConfigNode.

void Expansions.Missions.Flow.MEPath.Save ( ConfigNode  node)
inline

Implements IConfigNode.

Property Documentation

MENode Expansions.Missions.Flow.MEPath.First
get

The first node in the path

List<MENode> Expansions.Missions.Flow.MEPath.Nodes
getset

The documentation for this class was generated from the following file: