C# Class Grey.Vox.RegionPager

ファイルを表示 Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Properties

Property Type Description
INITIAL_CAPACITY int
rLists List[]

Public Methods

Method Description
Hash ( Region r ) : int
Hash ( int x, int z ) : int
Obtain ( int x, int z ) : Region
RegionPager ( ) : System
Remove ( Region r ) : void
TryAdd ( Region r ) : bool

Method Details

Hash() public method

public Hash ( Region r ) : int
r Region
return int

Hash() public method

public Hash ( int x, int z ) : int
x int
z int
return int

Obtain() public method

public Obtain ( int x, int z ) : Region
x int
z int
return Region

RegionPager() public method

public RegionPager ( ) : System
return System

Remove() public method

public Remove ( Region r ) : void
r Region
return void

TryAdd() public method

public TryAdd ( Region r ) : bool
r Region
return bool

Property Details

INITIAL_CAPACITY public_oe property

public int INITIAL_CAPACITY
return int

rLists public_oe property

public List[] rLists
return List[]