Beispiel #1
0
        private OvipositorType(byte maxEggs, ShortDescriptor shortDesc, PartDescriptor <OvipositorData> longDesc, PlayerBodyPartDelegate <Ovipositor> playerDesc,
                               OvipositorTransform transform, OvipositorRestore restore) : base(shortDesc)
        {
            this.maxEggs = maxEggs;

            this.longDesc   = longDesc ?? throw new ArgumentNullException(nameof(longDesc));
            this.playerDesc = playerDesc ?? throw new ArgumentNullException(nameof(playerDesc));

            this.transformStr = transform ?? throw new ArgumentNullException(nameof(transform));
            restoreStr        = restore ?? throw new ArgumentNullException(nameof(restore));
        }
Beispiel #2
0
 private OvipositorType(ShortDescriptor shortDesc, PartDescriptor <OvipositorData> longDesc, PlayerBodyPartDelegate <Ovipositor> playerDesc,
                        OvipositorTransform transform, OvipositorRestore restore) : this(0, shortDesc, longDesc, playerDesc, transform, restore)
 {
 }