[WIP] collision fixing

This commit is contained in:
DESKTOP-EBR7IVA\kimve
2021-06-18 11:20:24 +02:00
parent ca61dfc781
commit 022c7eb1f0
9 changed files with 38 additions and 19 deletions

View File

@@ -58,7 +58,7 @@ namespace entities
void SetCollisionBehaviour(std::function<void(const collision::Collision&)> function)
{ if (function != nullptr) { on_collide = function; } }
protected:
public:
/*
* @brief: This method moves the collision to the center of the entity