remove unused piece constructors
This commit is contained in:
parent
b0826a934d
commit
52c15ebd8b
1 changed files with 0 additions and 15 deletions
15
piece.gd
15
piece.gd
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue