public void AddShape(Shape shape, string id, float intensity, bool randomness) { var activeShape = new ActiveShape() { Shape = shape, Offsets = new float[shape.m_resolution], Intensity = intensity, Randomness = randomness, ID = id }; _shapes.Add(id, activeShape); }
private void TimerTick(object sender, EventArgs e) { ActiveShape.Move(Direction.Down); }