Exemple #1
0
        public WorkShop(Damage type, Worker worker, Painter painter, Point pos)
        {
            this.t        = new Thread(this.Threaded);
            this.type     = type;
            this.pos      = pos;
            this._worker  = worker;
            this._painter = painter;
            this.counter  = 0;

            r = new Random(pos.Y);

            _painter.AddString(pos, this.counter.ToString());
        }