Exemple #1
0
        public void ToggleForceWireAt(int x, int y)
        {
            Wire wire = WireMap[x, y];

            if (wire != null)
            {
                if (wire.IsForced)
                {
                    wire.UnForce();
                }
                else
                {
                    wire.Force(true);
                }
            }
        }
Exemple #2
0
        public void UnforceWireAt(int x, int y)
        {
            Wire wire = WireMap[x, y];

            wire?.UnForce();
        }