示例#1
0
 public void activate()
 {
     if (!moved)
     {
         neuron.activate(false);
     }
 }
示例#2
0
        public ShiftedNeuron(AnimatedNeuron neuron, PointF click, List <AnimatedNeuron> neurons)
        {
            this.click   = click;
            this.neuron  = neuron;
            this.neurons = neurons;

            shift    = new PointF();
            original = new PointF(neuron.Position.X, neuron.Position.Y);

            neuron.activate(true);
            moved = false;
        }