C# Class ItemsAI, cs-mini-modbot-simulation

Afficher le fichier Open project: intel-cornellcup/mini-modbot-simulation Class Usage Examples

Méthodes publiques

Свойство Type Description
itemList GameObject[]
itemsUpdateLock System.Object
objectToBounds Bounds>.Dictionary
objectToPosition Vector3>.Dictionary
stopWatch Stopwatch

Méthodes publiques

Méthode Description
getReduction ( Node, n ) : float

Given a node object representing a possible waypoint, calculate a reduction for the heuristic if there is an item nearby

updateItems ( ) : void

Initializes/Updates items by retrieving and storing them in a list; also stores a mapping of each item to its position

Method Details

getReduction() public static méthode

Given a node object representing a possible waypoint, calculate a reduction for the heuristic if there is an item nearby
public static getReduction ( Node, n ) : float
n Node, a Node representing a possible waypoint
Résultat float

updateItems() public static méthode

Initializes/Updates items by retrieving and storing them in a list; also stores a mapping of each item to its position
public static updateItems ( ) : void
Résultat void

Property Details

itemList public_oe static_oe property

public static GameObject[] itemList
Résultat GameObject[]

itemsUpdateLock public_oe static_oe property

public static Object,System itemsUpdateLock
Résultat System.Object

objectToBounds public_oe static_oe property

public static Dictionary objectToBounds
Résultat Bounds>.Dictionary

objectToPosition public_oe static_oe property

public static Dictionary objectToPosition
Résultat Vector3>.Dictionary

stopWatch public_oe static_oe property

public static Stopwatch stopWatch
Résultat Stopwatch