C# Class PlatformerPOC.Helpers.CustomBoundingBox

Mostra file Open project: bramdemoor/MonoGame-PlatformerPOC Class Usage Examples

Public Methods

Method Description
SetFullRectangle ( Vector2 position, Rectangle spriteDimensions, Vector2 velocity, int cropLeft, int cropRight, int cropTop, int cropBottom ) : void

Method Details

SetFullRectangle() public method

public SetFullRectangle ( Vector2 position, Rectangle spriteDimensions, Vector2 velocity, int cropLeft, int cropRight, int cropTop, int cropBottom ) : void
position Microsoft.Xna.Framework.Vector2
spriteDimensions Microsoft.Xna.Framework.Rectangle
velocity Microsoft.Xna.Framework.Vector2
cropLeft int
cropRight int
cropTop int
cropBottom int
return void