34 lines
569 B
GDScript
34 lines
569 B
GDScript
tool
|
|
class_name Cloth
|
|
extends Equipment
|
|
#
|
|
|
|
#05. signals
|
|
#06. enums
|
|
enum LIMB {
|
|
head,
|
|
torso,
|
|
left_upper_arm,
|
|
right_upper_arm,
|
|
left_lower_arm,
|
|
right_lower_arm,
|
|
left_hand,
|
|
right_hand,
|
|
left_upper_leg,
|
|
right_upper_leg,
|
|
left_lower_leg,
|
|
right_lower_leg,
|
|
left_feet,
|
|
right_feet
|
|
}
|
|
|
|
#07. constants
|
|
#08. exported variables
|
|
#09. public variables
|
|
#10. private variables
|
|
#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
|
|
#16. private methods
|