The Table Engine
collision_script.h
Go to the documentation of this file.
1 
9 #include "script.h"
10 #include "collide.h"
11 
19 class CollisionScript : public Script {
20 private:
21  bool m_collide;
23 public:
30 
37  void update() override;
38 
45  void render() override;
46 };
Script to manage collisions between game objects.
CollisionScript()
Constructs a new Collision Script object.
void update() override
Updates the collision status of the associated game object.
void render() override
Renders collision-related visuals if necessary.
Base class for scripting custom behaviors in game objects.
Definition: script.h:22
Defines the Collide class, a component for managing collision detection and response.
Defines the Script class for attaching behavior to game objects.