Done refactoring

This commit is contained in:
2ndbeam 2023-11-05 21:51:47 +03:00
commit 2176e9d798
88 changed files with 821 additions and 880 deletions

21
scripts/objects/Hull.gd Normal file
View file

@ -0,0 +1,21 @@
extends Node2D
class_name Hull
@export var max_hp : int = 30
@export var max_fuel : int = 1000
@onready var hp = max_hp
@onready var fuel : float = max_fuel
var ammunition = {
"n/a" : 0,
"Laser Energy" : 100,
"Rockets" : 10
}
var max_ammunition = {
"n/a" : 0,
"Laser Energy" : 100,
"Rockets" : 20
}