diff --git a/Shared/Player.cs b/Shared/Player.cs index 3cce7b9..29debb8 100644 --- a/Shared/Player.cs +++ b/Shared/Player.cs @@ -31,7 +31,6 @@ namespace SemiColinGames { private int swordSwingNum = 0; private const int swordSwingMax = 6; private float ySpeed = 0; - private double jumpTime = 0; private float invincibilityTime = 0; public Player(Point position, int facing) { @@ -139,11 +138,6 @@ namespace SemiColinGames { jumps = 1; ySpeed = -0.0001f; Debug.AddRect(Box(position), Color.Cyan); - double jumpElapsed = Clock.ModelTime.TotalSeconds - jumpTime; - // if (jumpElapsed > 0.2) { - // Debug.WriteLine("jump time: " + jumpElapsed); - // } - jumpTime = Clock.ModelTime.TotalSeconds; } else { jumps = 0; Debug.AddRect(Box(position), Color.Orange);