Initial import
This commit is contained in:
12
Paddle/Paddle.gd
Normal file
12
Paddle/Paddle.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user