C# 클래스 PlatformerPOC.Helpers.CustomBoundingBox

파일 보기 프로젝트 열기: bramdemoor/MonoGame-PlatformerPOC 1 사용 예제들

공개 메소드들

메소드 설명
SetFullRectangle ( Vector2 position, Rectangle spriteDimensions, Vector2 velocity, int cropLeft, int cropRight, int cropTop, int cropBottom ) : void

메소드 상세

SetFullRectangle() 공개 메소드

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
리턴 void