Files
Billiards/controllers/game/modes/free_ball.gd
itdominator 409680b94a major refactor(game-modes): centralize scoring and turn handling
* Move common ball recording, scoring, and turn-switching logic into `BaseMode`
* Add hooks for mode-specific ball handling and turn behavior
* Simplify 8-ball and 9-ball modes to use `LastBallMode`
* Update Snooker to use the new ball-processing hooks
* Remove duplicated scoring and turn-management code
2026-08-13 00:16:09 -05:00

10 lines
114 B
GDScript

class_name FreeBall extends BaseMode
func _init() -> void:
pass
func process_win_condition() -> void:
pass