remove unused piece constructors

This commit is contained in:
mehbark 2025-05-05 23:29:58 -04:00
parent b0826a934d
commit 52c15ebd8b

View file

@ -129,21 +129,6 @@ func do_bump(move: Vector2i, old_lvel := lvel) -> Callable:
func undo_bump(move: Vector2i) -> Callable: func undo_bump(move: Vector2i) -> Callable:
return do_bump(move) 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: func _ready() -> void:
speedometer = Label3D.new() speedometer = Label3D.new()
speedometer.billboard = BaseMaterial3D.BILLBOARD_ENABLED speedometer.billboard = BaseMaterial3D.BILLBOARD_ENABLED