Skip to content

Commit

Permalink
更改裁判判罚大小写问题
Browse files Browse the repository at this point in the history
  • Loading branch information
jun0315 committed Jul 21, 2019
1 parent d205bec commit 275be37
Showing 1 changed file with 22 additions and 22 deletions.
44 changes: 22 additions & 22 deletions Assets/Scripts/Scene/Play/Referee/Referee.cs
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ private bool JudgePlace(ref JudgeResult judgeResult)
judgeResult = new JudgeResult
{
Actor = Side.Blue,
Reason = matchState + " start and first PlaceKick",
Reason = matchState + " Start and first placekick",
ResultType = ResultType.PlaceKick
};
return true;
Expand All @@ -608,7 +608,7 @@ private bool JudgePlace(ref JudgeResult judgeResult)
judgeResult = new JudgeResult
{
Actor = Side.Yellow,
Reason = "Be scored and PlaceKick again",
Reason = "Be scored and placekick again",
ResultType = ResultType.PlaceKick,
WhoGoal = Side.Blue
};
Expand All @@ -620,7 +620,7 @@ private bool JudgePlace(ref JudgeResult judgeResult)
judgeResult = new JudgeResult
{
Actor = Side.Blue,
Reason = "Be scored and PlaceKick again",
Reason = "Be scored and placekick again",
ResultType = ResultType.PlaceKick,
WhoGoal = Side.Yellow
};
Expand Down Expand Up @@ -655,7 +655,7 @@ private bool JudgePenalty(ref JudgeResult judgeResult)
{
ResultType = ResultType.PenaltyKick,
Actor = Side.Yellow,
Reason = "Defenders have four robots in BigState"
Reason = "Defenders have four robots in bigstate"
};
return true;
}
Expand All @@ -666,7 +666,7 @@ private bool JudgePenalty(ref JudgeResult judgeResult)
{
ResultType = ResultType.PenaltyKick,
Actor = Side.Yellow,
Reason = "Defenders have two robots in SmallState"
Reason = "Defenders have two robots in smallstate"
};
return true;
}
Expand Down Expand Up @@ -696,7 +696,7 @@ private bool JudgePenalty(ref JudgeResult judgeResult)
{
ResultType = ResultType.PenaltyKick,
Actor = Side.Blue,
Reason = "Defenders have four robots in BigState"
Reason = "Defenders have four robots in bigstate"
};
return true;
}
Expand All @@ -707,7 +707,7 @@ private bool JudgePenalty(ref JudgeResult judgeResult)
{
ResultType = ResultType.PenaltyKick,
Actor = Side.Blue,
Reason = "Defenders have two robots in SmallState"
Reason = "Defenders have two robots in smallstate"
};
return true;
}
Expand All @@ -731,7 +731,7 @@ private bool JudgeGoalie(ref JudgeResult judgeResult)
{
ResultType = ResultType.GoalKick,
Actor = Side.Blue,
Reason = "Attacker hit the Goalie"
Reason = "Attacker hit the goalie"
};
return true;
}
Expand All @@ -753,7 +753,7 @@ private bool JudgeGoalie(ref JudgeResult judgeResult)
{
ResultType = ResultType.GoalKick,
Actor = Side.Blue,
Reason = "Attacker have four robots in BigState"
Reason = "Attacker have four robots in bigstate"
};
return true;
}
Expand All @@ -764,7 +764,7 @@ private bool JudgeGoalie(ref JudgeResult judgeResult)
{
ResultType = ResultType.GoalKick,
Actor = Side.Blue,
Reason = "Attacker have two robots in SmallState"
Reason = "Attacker have two robots in smallstate"
};
return true;
}
Expand All @@ -782,7 +782,7 @@ private bool JudgeGoalie(ref JudgeResult judgeResult)
{
ResultType = ResultType.GoalKick,
Actor = Side.Yellow,
Reason = "Attacker hit the Goalie"
Reason = "Attacker hit the goalie"
};
return true;
}
Expand All @@ -804,7 +804,7 @@ private bool JudgeGoalie(ref JudgeResult judgeResult)
{
ResultType = ResultType.GoalKick,
Actor = Side.Yellow,
Reason = "Attacker have four robots in BigState"
Reason = "Attacker have four robots in bigstate"
};
return true;
}
Expand All @@ -815,7 +815,7 @@ private bool JudgeGoalie(ref JudgeResult judgeResult)
{
ResultType = ResultType.GoalKick,
Actor = Side.Yellow,
Reason = "Attacker have two robots in SmallState"
Reason = "Attacker have two robots in smallstate"
};
return true;
}
Expand All @@ -835,7 +835,7 @@ private bool JudgeFree(ref JudgeResult judgeResult,Vector2D ballPos)
{
ResultType = ResultType.FreeKickRightTop,
Actor = Side.Blue,
Reason = "RightTop Standoff time longer than 10 seconds in game"
Reason = "RightTop standoff time longer than 10 seconds in game"
};
return true;
}
Expand All @@ -845,7 +845,7 @@ private bool JudgeFree(ref JudgeResult judgeResult,Vector2D ballPos)
{
ResultType = ResultType.FreeKickRightBot,
Actor = Side.Blue,
Reason = "RightBot Standoff time longer than 10 seconds in game"
Reason = "RightBot standoff time longer than 10 seconds in game"
};
return true;
}
Expand All @@ -855,7 +855,7 @@ private bool JudgeFree(ref JudgeResult judgeResult,Vector2D ballPos)
{
ResultType = ResultType.FreeKickLeftTop,
Actor = Side.Yellow,
Reason = "LeftTop Standoff time longer than 10 seconds in game"
Reason = "LeftTop standoff time longer than 10 seconds in game"
};
return true;
}
Expand All @@ -865,7 +865,7 @@ private bool JudgeFree(ref JudgeResult judgeResult,Vector2D ballPos)
{
ResultType = ResultType.FreeKickLeftBot,
Actor = Side.Yellow,
Reason = "LeftBot Standoff time longer than 10 seconds in game"
Reason = "LeftBot standoff time longer than 10 seconds in game"
};
return true;
}
Expand Down Expand Up @@ -941,7 +941,7 @@ private bool JudgeHalfOrGameEnd(ref JudgeResult judgeResult)
{
ResultType = ResultType.NextPhase,
Actor = Side.Nobody,
Reason = "FirstHalf Game end"
Reason = "FirstHalf game end"
};
return true;
}
Expand Down Expand Up @@ -978,7 +978,7 @@ private bool JudgeHalfOrGameEnd(ref JudgeResult judgeResult)
{
ResultType = ResultType.NextPhase,
Actor = Side.Nobody,
Reason = "SecondHalf Game end and start"
Reason = "SecondHalf game end and start"
};
}

Expand All @@ -998,7 +998,7 @@ private bool JudgeHalfOrGameEnd(ref JudgeResult judgeResult)
judgeResult = new JudgeResult
{
ResultType = ResultType.GameOver,
Reason = "Game over, Blue team win the game",
Reason = "Game over, blue team win the game",
Actor = Side.Nobody
};
}
Expand All @@ -1007,7 +1007,7 @@ private bool JudgeHalfOrGameEnd(ref JudgeResult judgeResult)
judgeResult = new JudgeResult
{
ResultType = ResultType.GameOver,
Reason = "Game over, Yellow team win the game",
Reason = "Game over, yellow team win the game",
Actor = Side.Nobody
};
}
Expand All @@ -1018,7 +1018,7 @@ private bool JudgeHalfOrGameEnd(ref JudgeResult judgeResult)
{
ResultType = ResultType.NextPhase,
Actor = Side.Nobody,
Reason = "Overtime Game end ,and start Penalty game"
Reason = "Overtime game end ,and start penalty game"
};
}
return true;
Expand Down

0 comments on commit 275be37

Please sign in to comment.