Engine
Frameworkcreatedbymeusableforthecreationofsimplegames.CurrentlysupportsOpenGL(Verysimple)andVulkan.
CollisionTypes.hpp
Go to the documentation of this file.
1 #pragma once
2 
7 {
8  CIRCLE,
9  BOX
10 };
11 
15 enum class CollisionLayer
16 {
17  NONE = 0,
18  SOLID = 1 << 0, // 1
19  DETECTION = 1 << 1, // 2
20  RED_TEAM = 1 << 2, // 4
21  BLUE_TEAM = 1 << 3, // 8
22  DAMAGE = 1 << 4 // etc
23 };
CollisionShapeType
Enum for available collision shapes
CollisionLayer
Bitmask Enum that allows for layered collision checking