C# Class SimShift.MapTool.Ets2NavigationSegment

Show file Open project: nlhans/SimShift Class Usage Examples

Public Properties

Property Type Description
Entry Ets2Node
Exit Ets2Node
Length float
Options List
Prefab Ets2Item
Roads List
Type Ets2NavigationSegmentType
Weight float

Public Methods

Method Description
Ets2NavigationSegment ( Ets2Item prefab ) : System
Ets2NavigationSegment ( IEnumerable roadPath, Ets2NavigationSegment prevSeg ) : System
GenerateHiRes ( Ets2NavigationSegmentOption opt ) : void
GenerateOptions ( Ets2NavigationSegment prevSeg, Ets2NavigationSegment nextSeg ) : void
Match ( int mySolution, Ets2NavigationSegment prefabSegment ) : bool
MatchEntry ( int solI, Ets2NavigationSegment prev ) : bool
MatchExit ( int solI, Ets2NavigationSegment next ) : bool
ToString ( ) : string

Method Details

Ets2NavigationSegment() public method

public Ets2NavigationSegment ( Ets2Item prefab ) : System
prefab Ets2Item
return System

Ets2NavigationSegment() public method

public Ets2NavigationSegment ( IEnumerable roadPath, Ets2NavigationSegment prevSeg ) : System
roadPath IEnumerable
prevSeg Ets2NavigationSegment
return System

GenerateHiRes() public method

public GenerateHiRes ( Ets2NavigationSegmentOption opt ) : void
opt Ets2NavigationSegmentOption
return void

GenerateOptions() public method

public GenerateOptions ( Ets2NavigationSegment prevSeg, Ets2NavigationSegment nextSeg ) : void
prevSeg Ets2NavigationSegment
nextSeg Ets2NavigationSegment
return void

Match() public method

public Match ( int mySolution, Ets2NavigationSegment prefabSegment ) : bool
mySolution int
prefabSegment Ets2NavigationSegment
return bool

MatchEntry() public method

public MatchEntry ( int solI, Ets2NavigationSegment prev ) : bool
solI int
prev Ets2NavigationSegment
return bool

MatchExit() public method

public MatchExit ( int solI, Ets2NavigationSegment next ) : bool
solI int
next Ets2NavigationSegment
return bool

ToString() public method

public ToString ( ) : string
return string

Property Details

Entry public property

public Ets2Node,SimShift.MapTool Entry
return Ets2Node

Exit public property

public Ets2Node,SimShift.MapTool Exit
return Ets2Node

Length public property

public float Length
return float

Options public property

public List Options
return List

Prefab public property

public Ets2Item,SimShift.MapTool Prefab
return Ets2Item

Roads public property

public List Roads
return List

Type public property

public Ets2NavigationSegmentType Type
return Ets2NavigationSegmentType

Weight public property

public float Weight
return float