diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2015-11-21 13:31:25 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2015-12-09 08:39:12 +0100 |
commit | 8c4f19e79d3e8ac8bc8c283073dce5ccfbf222b5 (patch) | |
tree | c1124b6d4957389006024d1e1baa5de56e207fec /demos/3d/platformer/enemy.gd | |
parent | 8639cecf4cedd56452b47503be19c44b304cd02f (diff) |
Use upper-cased first letter at the start of comment sentences
Diffstat (limited to 'demos/3d/platformer/enemy.gd')
-rw-r--r-- | demos/3d/platformer/enemy.gd | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/demos/3d/platformer/enemy.gd b/demos/3d/platformer/enemy.gd index 61671c7bd3..55c79e4858 100644 --- a/demos/3d/platformer/enemy.gd +++ b/demos/3d/platformer/enemy.gd @@ -1,7 +1,7 @@ extends RigidBody -# member variables +# Member variables const STATE_WALKING = 0 const STATE_DYING = 1 @@ -20,9 +20,9 @@ func _integrate_forces(state): var lv = state.get_linear_velocity() var g = state.get_total_gravity() - lv += g*delta # apply gravity + lv += g*delta # Apply gravity var up = -g.normalized() - + if (dying): state.set_linear_velocity(lv) return |