Browse Source

make swordSwingMax const

GitOrigin-RevId: 911bff5fb6
master
Colin McMillen 4 years ago
parent
commit
c1232d462d
  1. 2
      Shared/Player.cs

2
Shared/Player.cs

@ -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) {

Loading…
Cancel
Save