public TurnManager(IWorldClock worldClock, PerInitiativeFeature perInitiativeFeature, RealTimeFeature realTimeFeature, IOsnowaContextManager contextManager) { _worldClock = worldClock; _perInitiativeFeature = perInitiativeFeature; _realTimeFeature = realTimeFeature; _contextManager = contextManager; }
public FlightViewModel(IWorldClock worldClock) { if (worldClock == null) { throw new ArgumentNullException("worldClock"); } this._worldClock = worldClock; this._worldClock.PropertyChanged += new PropertyChangedEventHandler(WorldClock_PropertyChanged); }
public WorldClockViewModel(IWorldClock worldClock) { if (worldClock == null) { throw new ArgumentNullException("worldClock"); } this._worldClock = worldClock; this._worldClock.PropertyChanged += new PropertyChangedEventHandler(WorldClock_PropertyChanged); this._timer.Interval = new TimeSpan(0, 0, 0, 0, 100); this._timer.Tick += new EventHandler(Timer_Tick); }