Esempio n. 1
0
        public void Draw(SpriteBatch spriteBatch)
        {
            GateObject @in  = Inputee as GateObject;
            GateObject @out = Outputee as GateObject;

            if (!Connected)
            {
                spriteBatch.Line(@in.GetInputPin(InputPin), @out.GetOutputPin(OutputPin), 2, Color.Green);
            }
        }