mirror of
https://github.com/Theaninova/mhlib.git
synced 2026-01-22 09:52:46 +00:00
Split project
This commit is contained in:
12
godot/mhjnr/profile/status.gd
Normal file
12
godot/mhjnr/profile/status.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
extends Resource
|
||||
|
||||
class_name Status
|
||||
|
||||
@export var lives: int
|
||||
@export var score: int
|
||||
@export var bullets: int
|
||||
|
||||
func from_object_data(data: ObjectData):
|
||||
lives = data["lives"]
|
||||
score = data["score"]
|
||||
bullets = data["bullets"]
|
||||
Reference in New Issue
Block a user