social_learning.Predator.Predator C# (CSharp) Метод

Predator() публичный Метод

public Predator ( int id, int attackType ) : System
id int
attackType int
Результат System
        public Predator(int id, int attackType)
            : base(id)
        {
            Debug.Assert(attackType > 0, "Attack type must be positive and non-zero.");
            AttackType = attackType;
        }