28 lines
308 B
GDScript
28 lines
308 B
GDScript
@abstract
|
|
extends Resource
|
|
class_name AbstractReloader
|
|
|
|
|
|
func _init() -> void:
|
|
resource_local_to_scene = true
|
|
|
|
|
|
@abstract
|
|
func process(delta: float) -> void
|
|
|
|
|
|
@abstract
|
|
func can_shoot() -> bool
|
|
|
|
|
|
@abstract
|
|
func shoot() -> void
|
|
|
|
|
|
@abstract
|
|
func reload() -> void
|
|
|
|
|
|
@abstract
|
|
func get_process_percent() -> int
|