Extensive work on virtually all of the visuals and the net code
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
class_name PawnLevelData extends Node
|
||||
|
||||
class TrapData:
|
||||
var type : Trap.Type
|
||||
class HackData:
|
||||
var type : Hack.Type
|
||||
var quantity : int
|
||||
var max : int
|
||||
|
||||
func _init(type : Trap.Type, quantity : int, max : int) -> void:
|
||||
func _init(type : Hack.Type, quantity : int, max : int) -> void:
|
||||
self.type = type
|
||||
self.quantity = quantity
|
||||
self.max = max
|
||||
|
||||
var traps : Array[TrapData] = []
|
||||
var active_trap : int = 0
|
||||
var hacks : Array[HackData] = []
|
||||
var active_hack : int = 0
|
||||
|
||||
var life : int = 100
|
||||
var max_life : int = 100
|
||||
|
||||
Reference in New Issue
Block a user