Files
net-gunner/scripts/pawn_level_data.gd

18 lines
359 B
GDScript

class_name PawnLevelData extends Node
class HackData:
var type : Hack.Type
var quantity : int
var max_quantity : int
func _init(new_type : Hack.Type, amt : int, max_amt : int) -> void:
type = new_type
quantity = amt
max_quantity = max_amt
var hacks : Array[HackData] = []
var active_hack : int = 0
var life : int = 100
var max_life : int = 100