C# Class Universe.BotManager.NodeGraph

Exibir arquivo Open project: Virtual-Universe/Virtual-Universe Class Usage Examples

Public Properties

Property Type Description
FollowIndefinitely bool

Public Methods

Method Description
Add ( System.Vector3 position, TravelMode state ) : void
AddRange ( IEnumerable positions, IEnumerable states ) : void
Clear ( ) : void
CopyFrom ( NodeGraph graph ) : void
GetNextPosition ( System.Vector3 currentPosition, float closeToRange, int secondsBeforeForcedTeleport, System.Vector3 &position, TravelMode &state, bool &needsToTeleportToPosition ) : bool
NodePositions ( ) : int

Method Details

Add() public method

public Add ( System.Vector3 position, TravelMode state ) : void
position System.Vector3
state TravelMode
return void

AddRange() public method

public AddRange ( IEnumerable positions, IEnumerable states ) : void
positions IEnumerable
states IEnumerable
return void

Clear() public method

public Clear ( ) : void
return void

CopyFrom() public method

public CopyFrom ( NodeGraph graph ) : void
graph NodeGraph
return void

GetNextPosition() public method

public GetNextPosition ( System.Vector3 currentPosition, float closeToRange, int secondsBeforeForcedTeleport, System.Vector3 &position, TravelMode &state, bool &needsToTeleportToPosition ) : bool
currentPosition System.Vector3
closeToRange float
secondsBeforeForcedTeleport int
position System.Vector3
state TravelMode
needsToTeleportToPosition bool
return bool

NodePositions() public method

public NodePositions ( ) : int
return int

Property Details

FollowIndefinitely public_oe property

Loop through the current positions over and over
public bool FollowIndefinitely
return bool