C# Class TiaraFramework.Component.ColliDetection

Afficher le fichier Open project: TiaraGames/TiaraFramework

Méthodes publiques

Méthode Description
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

Method Details

RectAndRect() public static méthode

public static RectAndRect ( Rectangle r1, Rectangle r2 ) : bool
r1 Microsoft.Xna.Framework.Rectangle
r2 Microsoft.Xna.Framework.Rectangle
Résultat bool

RectAndRound() public static méthode

public static RectAndRound ( Rectangle re, Round ro ) : bool
re Microsoft.Xna.Framework.Rectangle
ro Round
Résultat bool

RoundAndRound() public static méthode

public static RoundAndRound ( Round r1, Round r2 ) : bool
r1 Round
r2 Round
Résultat bool

isPointInRect() public static méthode

public static isPointInRect ( Point p, Rectangle r ) : bool
p Point
r Microsoft.Xna.Framework.Rectangle
Résultat bool

isPointInRound() public static méthode

public static isPointInRound ( Point p, Round r ) : bool
p Point
r Round
Résultat bool

isRectInRect() public static méthode

public static isRectInRect ( Rectangle i, Rectangle o ) : bool
i Microsoft.Xna.Framework.Rectangle
o Microsoft.Xna.Framework.Rectangle
Résultat bool

isRoundInRound() public static méthode

public static isRoundInRound ( Round ri, Round ro ) : bool
ri Round
ro Round
Résultat bool