C# 클래스 Nez.Spatial.IntIntDictionary

wraps a Unit32,List Dictionary. It's main purpose is to hash the int,int x,y coordinates into a single Uint32 key which hashes perfectly resulting in an O(1) lookup.
파일 보기 프로젝트 열기: prime31/Nez

공개 메소드들

메소드 설명
clear ( ) : void

clears the backing dictionary

비공개 메소드들

메소드 설명
add ( int x, int y, List list ) : void
getAllObjects ( ) : HashSet
getKey ( int x, int y ) : long
remove ( Collider obj ) : void
tryGetValue ( int x, int y, List &list ) : bool

메소드 상세

clear() 공개 메소드

clears the backing dictionary
public clear ( ) : void
리턴 void