social_learning.Predator.Predator C# (CSharp) Method

Predator() public method

public Predator ( int id, int attackType ) : System
id int
attackType int
return System
        public Predator(int id, int attackType)
            : base(id)
        {
            Debug.Assert(attackType > 0, "Attack type must be positive and non-zero.");
            AttackType = attackType;
        }