Caseus Tower
 All Classes Namespaces Files Functions Variables
Collision Namespace Reference

a namespace for Collision A namespace containing functions to test for Collision. More...

Functions

bool playerPlatformIntersectCheck (Player *, Entity *, float)
 

Detailed Description

a namespace for Collision A namespace containing functions to test for Collision.

Function Documentation

bool Collision::playerPlatformIntersectCheck ( Player ,
Entity ,
float   
)

Checks if the Player intersects with the platform Checks if the Player intersects with the platform using the velocity and the dt for the updated positions.

Parameters
Player* a pointer to the player
Entity* a pointer to the platform
floatthe dt