added phase 1 of gameplay and ui buttons
This commit is contained in:
12
Scripts/player_choice_box.gd
Normal file
12
Scripts/player_choice_box.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
extends HBoxContainer
|
||||
var start_pos: Vector2
|
||||
|
||||
func _ready() -> void:
|
||||
start_pos = self.position
|
||||
|
||||
func _input(event: InputEvent) -> void:
|
||||
if event.is_action_released("left_mouse_click"):
|
||||
self.position = Vector2(1000.0,1000.0)
|
||||
|
||||
func on_state_changed():
|
||||
pass
|
||||
Reference in New Issue
Block a user