C# Class andengine.collision.ShapeCollisionChecker

Inheritance: BaseCollisionChecker
Afficher le fichier Open project: jamesburton/AndEngine.net Class Usage Examples

Méthodes publiques

Méthode Description
CheckCollision ( int pVerticesALength, int pVerticesBLength, float pVerticesA, float pVerticesB ) : bool
CheckContains ( float pVertices, int pVerticesLength, float pX, float pY ) : bool
ConvertLocalToSceneCoordinates ( andengine.entity.shape.Shape pShape, float pX, float pY ) : float[]
ConvertSceneToLocalCoordinates ( andengine.entity.shape.Shape pShape, float pX, float pY ) : float[]

Private Methods

Méthode Description
CheckCollisionSub ( int pVertexIndexA1, int pVertexIndexA2, float pVerticesA, float pVerticesB, int pVerticesBLength ) : bool

Method Details

CheckCollision() public static méthode

public static CheckCollision ( int pVerticesALength, int pVerticesBLength, float pVerticesA, float pVerticesB ) : bool
pVerticesALength int
pVerticesBLength int
pVerticesA float
pVerticesB float
Résultat bool

CheckContains() public static méthode

public static CheckContains ( float pVertices, int pVerticesLength, float pX, float pY ) : bool
pVertices float
pVerticesLength int
pX float
pY float
Résultat bool

ConvertLocalToSceneCoordinates() public static méthode

public static ConvertLocalToSceneCoordinates ( andengine.entity.shape.Shape pShape, float pX, float pY ) : float[]
pShape andengine.entity.shape.Shape
pX float
pY float
Résultat float[]

ConvertSceneToLocalCoordinates() public static méthode

public static ConvertSceneToLocalCoordinates ( andengine.entity.shape.Shape pShape, float pX, float pY ) : float[]
pShape andengine.entity.shape.Shape
pX float
pY float
Résultat float[]