The Table Engine
crosshair_script.h
Go to the documentation of this file.
1 #include "script.h"
2 
9 class CrosshairScript : public Script {
10 public:
14  void update() override;
15 };
Script for managing the crosshair in the game.
void update() override
Updates the position of the crosshair based on the mouse cursor.
Base class for scripting custom behaviors in game objects.
Definition: script.h:22
Defines the Script class for attaching behavior to game objects.