removed useless idle_fall() function
This commit is contained in:
parent
8a08b71404
commit
c88bc930ff
1 changed files with 0 additions and 6 deletions
|
@ -67,9 +67,6 @@ func _physics_process(delta):
|
||||||
State.FALL:
|
State.FALL:
|
||||||
_process_fall()
|
_process_fall()
|
||||||
continue
|
continue
|
||||||
State.IDLE, State.FALL:
|
|
||||||
_process_idle_fall()
|
|
||||||
continue
|
|
||||||
State.JUMP, State.FALL:
|
State.JUMP, State.FALL:
|
||||||
_process_jump_fall()
|
_process_jump_fall()
|
||||||
continue
|
continue
|
||||||
|
@ -151,9 +148,6 @@ func _process_fall():
|
||||||
#Cant move in air
|
#Cant move in air
|
||||||
if !can_move_in_air: velocity.x = 0
|
if !can_move_in_air: velocity.x = 0
|
||||||
|
|
||||||
func _process_idle_fall():
|
|
||||||
pass
|
|
||||||
|
|
||||||
func _process_jump_fall():
|
func _process_jump_fall():
|
||||||
check_double_jump()
|
check_double_jump()
|
||||||
move(walk_speed,0,true)
|
move(walk_speed,0,true)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue