示例#1
0
 public Game(Balance balance)
 {
     Settings = new Settings()
     {
         Balance = balance,
     };
     StateProperty.OnChange += () =>
     {
         Time.timeScale = (State == GameState.Game) ? 1 : 0;
     };
 }
示例#2
0
 public Session(Balance balance)
 {
     _balance = balance;
     TimeLimit = _balance.initialTimeLimit;
 }