C# 클래스 MiningGame.ExtensionMethods.ExtensionMethods

파일 보기 프로젝트 열기: geel9/Minor-Destruction

공개 메소드들

메소드 설명
ApproachZero ( this vec ) : void
ApproachZeroX ( this vec ) : void
ApproachZeroY ( this vec ) : void
BitMaskToBools ( this bitmask ) : bool[]
BitSet ( this toCheck, int index ) : bool
ConcatString ( this array, string delim ) : string
DToR ( this f ) : float
RToD ( this f ) : float
SetBit ( this toSet, int index, bool set = true ) : byte
SetBit ( this toSet, int index, bool set = true ) : int
SetBit ( this toSet, int index, bool set = true ) : long
SetBit ( this toSet, int index, bool set = true ) : short
ToPoint ( this vec ) : Point
ToVector2 ( this p ) : Vector2

메소드 상세

ApproachZero() 공개 정적인 메소드

public static ApproachZero ( this vec ) : void
vec this
리턴 void

ApproachZeroX() 공개 정적인 메소드

public static ApproachZeroX ( this vec ) : void
vec this
리턴 void

ApproachZeroY() 공개 정적인 메소드

public static ApproachZeroY ( this vec ) : void
vec this
리턴 void

BitMaskToBools() 공개 정적인 메소드

public static BitMaskToBools ( this bitmask ) : bool[]
bitmask this
리턴 bool[]

BitSet() 공개 정적인 메소드

public static BitSet ( this toCheck, int index ) : bool
toCheck this
index int
리턴 bool

ConcatString() 공개 정적인 메소드

public static ConcatString ( this array, string delim ) : string
array this
delim string
리턴 string

DToR() 공개 정적인 메소드

public static DToR ( this f ) : float
f this
리턴 float

RToD() 공개 정적인 메소드

public static RToD ( this f ) : float
f this
리턴 float

SetBit() 공개 정적인 메소드

public static SetBit ( this toSet, int index, bool set = true ) : byte
toSet this
index int
set bool
리턴 byte

SetBit() 공개 정적인 메소드

public static SetBit ( this toSet, int index, bool set = true ) : int
toSet this
index int
set bool
리턴 int

SetBit() 공개 정적인 메소드

public static SetBit ( this toSet, int index, bool set = true ) : long
toSet this
index int
set bool
리턴 long

SetBit() 공개 정적인 메소드

public static SetBit ( this toSet, int index, bool set = true ) : short
toSet this
index int
set bool
리턴 short

ToPoint() 공개 정적인 메소드

public static ToPoint ( this vec ) : Point
vec this
리턴 Point

ToVector2() 공개 정적인 메소드

public static ToVector2 ( this p ) : Vector2
p this
리턴 Vector2