PhysicManager class final
#include <PhysicManager.hpp>
Public static functions
- static auto Instance() -> PhysicManager&
Constructors, destructors, conversion operators
- PhysicManager(PhysicManager const&) deleted
Public functions
- auto operator=(PhysicManager const&) -> PhysicManager& deleted
- void init(Window*const window)
- void update()
- void clean()
- void debugDraw() const
- void createContactListener()
- auto getWorld() const -> b2World*
- auto createStaticBody(const b2Vec2& position, const int width, const int height, const ContactCategory category, const ContactMask mask) const -> b2Body*