public SysCreatureRec(SysCreature cid, int name, string sign, ExtRect scrRect)
 {
     Id      = cid;
     Name    = name;
     Sign    = sign;
     ScrRect = scrRect;
 }
        public static SysCreatureRec Create(SysCreature cid, int name, string sign, ExtRect scrRect)
        {
            SysCreatureRec result = new SysCreatureRec();

            result.cid     = cid;
            result.Name    = name;
            result.Sign    = sign;
            result.ScrRect = scrRect;
            return(result);
        }
 public BuildingRec(int name, SysCreature owner, ItemKinds wares,
                    byte minCount, byte maxCount, byte maxDoors, byte minSize, byte maxSize)
 {
     Name       = name;
     Owner      = owner;
     WaresKinds = wares;
     MinCount   = minCount;
     MaxCount   = maxCount;
     MaxDoors   = maxDoors;
     MinSize    = minSize;
     MaxSize    = maxSize;
 }
        public static BuildingRec Create(int name, SysCreature owner, ItemKinds wares,
                                         byte minCount, byte maxCount, byte maxDoors, byte minSize, byte maxSize)
        {
            BuildingRec result = new BuildingRec();

            result.Name       = name;
            result.Owner      = owner;
            result.WaresKinds = wares;
            result.MinCount   = minCount;
            result.MaxCount   = maxCount;
            result.MaxDoors   = maxDoors;
            result.MinSize    = minSize;
            result.MaxSize    = maxSize;
            return(result);
        }