Exemplo n.º 1
0
        public ColorDropOff(RealPoint position, Color color, Buoy buoyOutside1, Buoy buoyOutside2, Buoy buoyInside1, Buoy buoyInside2) : base(position, color, 150)
        {
            _loadOnRed   = Enumerable.Repeat(Color.Transparent, 5).ToList();
            _loadOnGreen = Enumerable.Repeat(Color.Transparent, 5).ToList();

            _buoyOutside1 = buoyOutside1;
            _buoyOutside2 = buoyOutside2;
            _buoyInside1  = buoyInside1;
            _buoyInside2  = buoyInside2;

            _pendingLeft  = Color.Transparent;
            _pendingRight = Color.Transparent;
        }
Exemplo n.º 2
0
 public void RemoveBuoy(Buoy b)
 {
     _buoys.Remove(b);
 }