More refactoring of the gui. Now most things are out of the FSM and MainUI is responsible for the rayvew and its overlay.

This commit is contained in:
Zed A. Shaw 2025-02-21 00:50:54 -05:00
parent 23ed1594f2
commit dd4f77a106
6 changed files with 89 additions and 45 deletions

View file

@ -43,7 +43,7 @@ bool CameraLOL::play_move(Raycaster &rayview) {
return t >= 1.0;
}
void CameraLOL::abort_plan(Raycaster &rayview) {
void CameraLOL::abort_plan(Raycaster& rayview) {
target_x = rayview.$pos_x;
target_y = rayview.$pos_y;
}