C# Class PlatformerPOC.Helpers.CollisionHelper

显示文件 Open project: bramdemoor/MonoGame-PlatformerPOC

Public Methods

Method Description
RectangleCollision ( Rectangle r1, Rectangle r2 ) : bool

Method Details

RectangleCollision() public static method

public static RectangleCollision ( Rectangle r1, Rectangle r2 ) : bool
r1 Microsoft.Xna.Framework.Rectangle
r2 Microsoft.Xna.Framework.Rectangle
return bool