Files
Dunkanoid/Paddle/Paddle.gd
2024-05-04 18:05:08 +01:00

13 lines
249 B
GDScript

extends StaticBody2D
class_name Paddle
var width : int :
get:
return $CollisionShape2D.shape.size.x
func _on_input_event(viewport: Node, event: InputEvent, shape_idx: int) -> void:
pass # Replace with function body.
func hit() -> void:
pass