A* Pathfinding Project  4.1.26
The A* Pathfinding Project for Unity 3D
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()

VOBuffer ( int  n)

Member Function Documentation

◆ Add()

void Add ( VO  vo)

◆ Clear()

void Clear ( )

Member Data Documentation

◆ buffer

VO [] buffer

◆ length

int length

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