Added weapon types

This commit is contained in:
2025-11-24 20:51:42 +03:00
parent 98294afeab
commit fb6b00be7c
8 changed files with 10 additions and 1 deletions
+2
View File
@@ -3,12 +3,14 @@ extends Node2D
enum Belonging { PLAYER, ENEMY }
enum Type { SHORT_RANGE, MEDIUM_RANGE, LONG_RANGE, HOMING, MINES }
@export_range(1, 100) var bullet_per_shot : int = 1
@export_range(0, 360) var sector_angle : int = 0
@export var Projectile : PackedScene
@export var type := Type.MEDIUM_RANGE
const PREFIXES := {