C# Class Nez.Tiled.TiledMapMover.CollisionState

class used to house all the collision information from a call to move
Afficher le fichier Open project: prime31/Nez

Méthodes publiques

Свойство Type Description
becameGroundedThisFrame bool
isGroundedOnOneWayPlatform bool
right bool
slopeAngle float
wasGroundedLastFrame bool

Méthodes publiques

Méthode Description
ToString ( ) : string
clearLastGroundTile ( ) : void
reset ( ) : void
reset ( Vector2 &motion ) : void

resets collision state and does sub-pixel movement calculations

Method Details

ToString() public méthode

public ToString ( ) : string
Résultat string

clearLastGroundTile() public méthode

public clearLastGroundTile ( ) : void
Résultat void

reset() public méthode

public reset ( ) : void
Résultat void

reset() public méthode

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

Property Details

becameGroundedThisFrame public_oe property

public bool becameGroundedThisFrame
Résultat bool

isGroundedOnOneWayPlatform public_oe property

public bool isGroundedOnOneWayPlatform
Résultat bool

right public_oe property

public bool right
Résultat bool

slopeAngle public_oe property

public float slopeAngle
Résultat float

wasGroundedLastFrame public_oe property

public bool wasGroundedLastFrame
Résultat bool