public void activate() { if (!moved) { neuron.activate(false); } }
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; }