* 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
10 lines
114 B
GDScript
10 lines
114 B
GDScript
class_name FreeBall extends BaseMode
|
|
|
|
|
|
func _init() -> void:
|
|
pass
|
|
|
|
|
|
func process_win_condition() -> void:
|
|
pass
|