public BooleanKeySwitch(bool initial, Key actkey, KeyTriggerMode tmode) { _Value = initial; key = actkey; mode = tmode; Console.Out.WriteLine("Register Boolean KeySwitch [{0}] on {1}", actkey, tmode); switchList.Add(this); }
public CheatKeySwitch(bool initial, Key actkey, KeyTriggerMode tmode, string cheat) : base(initial, actkey, tmode) { activated = initial; code = cheat.ToLower(); }