A* Pathfinding Project  4.1.2
The A* Pathfinding Project for Unity 3D
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Properties Events Macros Groups Pages
Agent.VOBuffer Class Reference

Very simple list. More...

Detailed Description

Very simple list.

Cannot use a List<T> because when indexing into a List<T> and T is a struct (which VO is) then the whole struct will be copied. When indexing into an array, that copy can be skipped.

Public Member Functions

 VOBuffer (int n)
 
void Add (VO vo)
 
void Clear ()
 

Public Attributes

VO[] buffer
 
int length
 

Constructor & Destructor Documentation

VOBuffer ( int  n)

Member Function Documentation

void Add ( VO  vo)
void Clear ( )

Member Data Documentation

VO [] buffer
int length

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