khanat-client/ressources/scripts/creatures/creature.gd

29 lines
568 B
GDScript3
Raw Permalink Normal View History

class_name CreatureOld
# Main creature class
#05. signals
#06. enums
#07. constants
#08. exported variables
#09. public variables
#10. private variables
var type: String
var pseudonym: String
var inventory = null
#11. onready variables
#12. optional built-in virtual _init method
#13. built-in virtual _ready method
#14. remaining built-in virtual methods
#15. public methods
func _init( p_pseudonym = "Creature", p_type = "creature" ):
self.type = p_type
self.pseudonym = p_pseudonym
self.inventory = null
func from_dict( _datas ):
pass
#16. private methods