make swordSwingMax const
GitOrigin-RevId: 911bff5fb60d0442edbe1e4ff9c005558a258175
This commit is contained in:
parent
3286db1c86
commit
c1232d462d
@ -39,7 +39,7 @@ namespace SemiColinGames {
|
|||||||
private Pose pose = Pose.Jumping;
|
private Pose pose = Pose.Jumping;
|
||||||
private double swordSwingTime = 0;
|
private double swordSwingTime = 0;
|
||||||
private int swordSwingNum = 0;
|
private int swordSwingNum = 0;
|
||||||
private int swordSwingMax = 6;
|
private const int swordSwingMax = 6;
|
||||||
private float ySpeed = 0;
|
private float ySpeed = 0;
|
||||||
|
|
||||||
public Player(Texture2D texture) {
|
public Player(Texture2D texture) {
|
||||||
|
Loading…
Reference in New Issue
Block a user