C# 클래스 TiaraFramework.Component.ColliDetection

파일 보기 프로젝트 열기: TiaraGames/TiaraFramework

공개 메소드들

메소드 설명
RectAndRect ( Rectangle r1, Rectangle r2 ) : bool
RectAndRound ( Rectangle re, Round ro ) : bool
RoundAndRound ( Round r1, Round r2 ) : bool
isPointInRect ( Point p, Rectangle r ) : bool
isPointInRound ( Point p, Round r ) : bool
isRectInRect ( Rectangle i, Rectangle o ) : bool
isRoundInRound ( Round ri, Round ro ) : bool

메소드 상세

RectAndRect() 공개 정적인 메소드

public static RectAndRect ( Rectangle r1, Rectangle r2 ) : bool
r1 Microsoft.Xna.Framework.Rectangle
r2 Microsoft.Xna.Framework.Rectangle
리턴 bool

RectAndRound() 공개 정적인 메소드

public static RectAndRound ( Rectangle re, Round ro ) : bool
re Microsoft.Xna.Framework.Rectangle
ro Round
리턴 bool

RoundAndRound() 공개 정적인 메소드

public static RoundAndRound ( Round r1, Round r2 ) : bool
r1 Round
r2 Round
리턴 bool

isPointInRect() 공개 정적인 메소드

public static isPointInRect ( Point p, Rectangle r ) : bool
p Point
r Microsoft.Xna.Framework.Rectangle
리턴 bool

isPointInRound() 공개 정적인 메소드

public static isPointInRound ( Point p, Round r ) : bool
p Point
r Round
리턴 bool

isRectInRect() 공개 정적인 메소드

public static isRectInRect ( Rectangle i, Rectangle o ) : bool
i Microsoft.Xna.Framework.Rectangle
o Microsoft.Xna.Framework.Rectangle
리턴 bool

isRoundInRound() 공개 정적인 메소드

public static isRoundInRound ( Round ri, Round ro ) : bool
ri Round
ro Round
리턴 bool