make swordSwingMax const

GitOrigin-RevId: 911bff5fb60d0442edbe1e4ff9c005558a258175
This commit is contained in:
Colin McMillen 2020-02-02 10:23:47 -05:00
parent 3286db1c86
commit c1232d462d

View File

@ -39,7 +39,7 @@ namespace SemiColinGames {
private Pose pose = Pose.Jumping;
private double swordSwingTime = 0;
private int swordSwingNum = 0;
private int swordSwingMax = 6;
private const int swordSwingMax = 6;
private float ySpeed = 0;
public Player(Texture2D texture) {