C# 클래스 Nez.Tiled.TiledMapMover.CollisionState

class used to house all the collision information from a call to move
파일 보기 프로젝트 열기: prime31/Nez

공개 프로퍼티들

프로퍼티 타입 설명
becameGroundedThisFrame bool
isGroundedOnOneWayPlatform bool
right bool
slopeAngle float
wasGroundedLastFrame bool

공개 메소드들

메소드 설명
ToString ( ) : string
clearLastGroundTile ( ) : void
reset ( ) : void
reset ( Vector2 &motion ) : void

resets collision state and does sub-pixel movement calculations

메소드 상세

ToString() 공개 메소드

public ToString ( ) : string
리턴 string

clearLastGroundTile() 공개 메소드

public clearLastGroundTile ( ) : void
리턴 void

reset() 공개 메소드

public reset ( ) : void
리턴 void

reset() 공개 메소드

resets collision state and does sub-pixel movement calculations
public reset ( Vector2 &motion ) : void
motion Vector2 Motion.
리턴 void

프로퍼티 상세

becameGroundedThisFrame 공개적으로 프로퍼티

public bool becameGroundedThisFrame
리턴 bool

isGroundedOnOneWayPlatform 공개적으로 프로퍼티

public bool isGroundedOnOneWayPlatform
리턴 bool

right 공개적으로 프로퍼티

public bool right
리턴 bool

slopeAngle 공개적으로 프로퍼티

public float slopeAngle
리턴 float

wasGroundedLastFrame 공개적으로 프로퍼티

public bool wasGroundedLastFrame
리턴 bool