Implement OilOfSharpness
This commit is contained in:
parent
2190070fee
commit
31cb8fe4c0
45 changed files with 604 additions and 21 deletions
24
Assets/Battle/BattleTime.cs
Normal file
24
Assets/Battle/BattleTime.cs
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
public enum RoundStep {
|
||||
None,
|
||||
StartOfRound,
|
||||
StartOfHeroTurn,
|
||||
EndOfHeroTurn,
|
||||
StartOfMonsterTurn,
|
||||
EndOfMonsterTurn,
|
||||
EndOfRound,
|
||||
}
|
||||
|
||||
public class BattleTime {
|
||||
private int mRoundNumber;
|
||||
private RoundStep mRoundStep;
|
||||
|
||||
public BattleTime(int roundNumber, RoundStep roundStep) {
|
||||
mRoundNumber = roundNumber;
|
||||
mRoundStep = roundStep;
|
||||
}
|
||||
|
||||
public int RoundNumber {get => mRoundNumber;}
|
||||
public RoundStep RoundStep {get => mRoundStep;}
|
||||
|
||||
public int Int {get => mRoundNumber * 100 + (int) mRoundStep;}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue