DC/RTS Documentation  v1.62
A Unity3D System Incorporating the Functionality of a Dungeon Crawler or Real Time Strategy System
 All Classes Files Functions Variables Enumerations Enumerator Properties Pages
GridGenerator.GridComparer Class Reference

Used for Sorting GridSquares within a Data Structure that Contains an IComparer. More...

Inheritance diagram for GridGenerator.GridComparer:

Public Member Functions

int Compare (GridSquare a, GridSquare b)
 Compares Two GridSquares Together, Determining which has the Smallest GridSquare.FMovementCost More...
 

Detailed Description

Used for Sorting GridSquares within a Data Structure that Contains an IComparer.

Member Function Documentation

int GridGenerator.GridComparer.Compare ( GridSquare  a,
GridSquare  b 
)

Compares Two GridSquares Together, Determining which has the Smallest GridSquare.FMovementCost

Returns
-1: Smaller, 0: Equal, 1: Larger

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