feat: define cards as resources
This commit is contained in:
parent
498604499a
commit
e304dd671b
8 changed files with 60 additions and 0 deletions
6
card/card.gd
Normal file
6
card/card.gd
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
extends Resource
|
||||
class_name Card
|
||||
|
||||
var id: String:
|
||||
get:
|
||||
return resource_path.rsplit(".", true, 1)[0]
|
||||
Loading…
Add table
Add a link
Reference in a new issue