Ejemplo n.º 1
0
            public Body()
            {
                // Create a brand new pancreas and assign it to this body
                _pancreas = new Pancreas()
                {
                    filtering = true
                };

                // Create a brand new liver and assign it to this body
                _liver = new Liver()
                {
                    poisoned = false
                };
            }
Ejemplo n.º 2
0
 public Abdomen(Bone[] abdomenBoneStructure = null, GastrointestinalTract gastrointestinalTract = null, Liver liver = null, Pancreas pancreas = null, UrinaryTract urinaryTract = null, Spleen spleen = null, Reproductive reproductives = null)
 {
     Bones = abdomenBoneStructure ?? DefaultBoneStructures.DefaultAbdomenBones;
     GastrointestinalTract = gastrointestinalTract ?? new GastrointestinalTract();
     Liver         = liver ?? new Liver();
     Pancreas      = pancreas ?? new Pancreas();
     UrinaryTract  = urinaryTract ?? new UrinaryTract();
     Spleen        = spleen ?? new Spleen();
     Reproductives = reproductives ?? new Reproductive_Female();
 }