gears: remove redundant gear_id()
This commit is contained in:
parent
42de0ed122
commit
d5275c13fd
2 changed files with 0 additions and 6 deletions
|
|
@ -2,8 +2,6 @@ class_name Ball extends "gear.gd"
|
|||
|
||||
func gear_name():
|
||||
return "Ball"
|
||||
func gear_id():
|
||||
return 1
|
||||
func continuous():
|
||||
return false
|
||||
|
||||
|
|
|
|||
|
|
@ -13,15 +13,11 @@ var pickup_basis = idle_basis
|
|||
|
||||
func gear_name():
|
||||
return "Gear"
|
||||
func gear_id():
|
||||
return 0
|
||||
func model_file():
|
||||
return "hammer.glb"
|
||||
func continuous():
|
||||
return false
|
||||
|
||||
# this can be redefined to make a custom
|
||||
# gear mesh, e.g. a SphereMesh
|
||||
func use(player):
|
||||
basis = use_basis
|
||||
$Timer.start()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue