Action
Choices players can make.
Variables
Name | Type | Description |
---|---|---|
text_node_path | NodePath | NodePath for the text once attached to aspect2d |
button | DirectButton | The button for the action |
player | Player object | |
text_node | TextNode | TextNode that will be used with the button |
Functions
Name | Description |
---|---|
create_button | Creates the DirectButton and text_node_path |
destroy_button | Destroys |
command | Returns Boolean of if the player is able to do actions |
set_pos | Sets the position of |
multiply_scale(multiple) | Multiplies |
add_log(text) | Action will add to the log |
disable_button | Disables |
enable_button | Enables |
Last modified: 31 December 2024