From 52c15ebd8bcd5dbe4651daf906f9a355effc22a3 Mon Sep 17 00:00:00 2001 From: mehbark Date: Mon, 5 May 2025 23:29:58 -0400 Subject: [PATCH] remove unused piece constructors --- piece.gd | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/piece.gd b/piece.gd index 82e1df4..3ae84cc 100644 --- a/piece.gd +++ b/piece.gd @@ -129,21 +129,6 @@ func do_bump(move: Vector2i, old_lvel := lvel) -> Callable: func undo_bump(move: Vector2i) -> Callable: return do_bump(move) -static func ball(pos: Vector2i) -> Piece: - return BALL.instantiate().with_lpos(pos) - -static func floor_ice(pos: Vector2i) -> Piece: - return FLOOR_ICE.instantiate().with_lpos(pos) - -static func goal(pos: Vector2i) -> Piece: - return GOAL.instantiate().with_lpos(pos) - -static func player(pos: Vector2i) -> Piece: - return PLAYER.instantiate().with_lpos(pos) - -static func wall(pos: Vector2i) -> Piece: - return WALL.instantiate().with_lpos(pos) - func _ready() -> void: speedometer = Label3D.new() speedometer.billboard = BaseMaterial3D.BILLBOARD_ENABLED