public CounterComponent(LiveSplitState state) { Settings = new CounterComponentSettings(); this.state = state; Start(); SendMessage("coucou"); }
public CounterComponent(LiveSplitState state) { VerticalHeight = 10; Settings = new CounterComponentSettings(); Cache = new GraphicsCache(); CounterNameLabel = new SimpleLabel(); Counter = new Counter(); this.state = state; Settings.CounterReinitialiseRequired += Settings_CounterReinitialiseRequired; Settings.IncrementUpdateRequired += Settings_IncrementUpdateRequired; // Subscribe to input hooks. Settings.Hook.KeyOrButtonPressed += hook_KeyOrButtonPressed; }
public CounterComponent(LiveSplitState state) { VerticalHeight = 10; Settings = new CounterComponentSettings(); Cache = new GraphicsCache(); CounterNameLabel = new SimpleLabel(); Counter = new Counter(); this.state = state; Settings.CounterReinitialiseRequired += Settings_CounterReinitialiseRequired; Settings.IncrementUpdateRequired += Settings_IncrementUpdateRequired; // Subscribe to input hooks. Settings.Hook.KeyOrButtonPressed += hook_KeyOrButtonPressed; }