Britbot
Britbot.Group.Group ( ) [inline]

Just a ctor to do to common stuff (called from the other ctors above by "this()" statement)

Definition at line 101 of file Group.cs.

        {
            this.Pirates = new ObservableCollection<int>();

            this.Pirates.CollectionChanged += delegate
            {
                this._hasChanged = true;
                Logger.Write("Update Registered at group " + this.Id);
            };

            this.Heading = new HeadingVector(1, 0);
            this.Priorities = new List<Score>();

            //get id and update counter
            this.Id = Group.GroupCounter++;

            Logger.Write(string.Format("===================GROUP {0}===================", this.Id));
        }