public void StartWith(Chief chief) { if (_owner != null) { throw new Exception("Already started"); } _owner = chief; }
public GameTimer(Chief chief) { _chief = chief; _timer = new Timer(1000); //miliseconds _timer.Elapsed += Tick; _timeLeft = new TimeLeft { BattleTimeLeft = 900, //seconds TurnTimeLeft = 120 //seconds }; }
public Io(Chief chief) { _chief = chief; Options = new Options(chief); }
public Emulated(Chief chief) { _chiefIndex = chief.Index; _engine = chief.GetEngine().Clone(); _engine.Emitter.Subscribe(this); }
private void ChangeOwner() { _owner = _owner.GetOpponent(); ++_number; }
public void StartWith(Chief chief, int number) { _number = number; StartWith(chief); }
public CardFactory(Chief chief) { _chief = chief; }
public CardsContainer(Chief chief) { this._chief = chief; Factory = new CardFactory(chief); }