예제 #1
0
        public MPATile(string type, string pid, int nid, MPAChain parent)
        {
            if (parent == null)
            {
                throw new ArgumentNullException(nameof(parent));
            }

            this.Type    = type;
            this.TileID  = pid;
            this.ShortID = nid;
            this.Parent  = parent;

            CreateElementsFromType();
        }
예제 #2
0
 public MPAChainEventArgs(MPAChain chain)
 {
     this.Chain = chain;
 }