gun system + minigun

This commit is contained in:
Michael Campbell 2026-02-19 00:04:31 -05:00
parent 84415d5aca
commit f73f093ae2
13 changed files with 84 additions and 24 deletions

11
player/guns/base_gun.gd Normal file
View file

@ -0,0 +1,11 @@
@abstract
class_name Gun
extends Node3D
var fire_clock := 0.
@export_custom(PROPERTY_HINT_NONE, "suffix:rounds per minute")
var fire_rate := 125.
@abstract
func fire(aim_angle: float) -> void