// ReSharper restore NotAccessedField.Local public Elephant(IAnimalStatusTracker statusTracker) : base(statusTracker) { _rightTusk = new byte[0x14000]; _leftTusk = new byte[0x14000]; _leftFrontFoot = new byte[0x14000]; _leftBackFoot = new byte[0x14000]; _rightFrontFoot = new byte[0x14000]; _rightBackFoot = new byte[0x14000]; }
// ReSharper restore NotAccessedField.Local public Elephant(IAnimalStatusTracker statusTracker) : base(statusTracker) { _rightTusk = new byte[0x14000]; _leftTusk = new byte[0x14000]; _leftFrontFoot= new byte[0x14000]; _leftBackFoot = new byte[0x14000]; _rightFrontFoot = new byte[0x14000]; _rightBackFoot = new byte[0x14000]; }
// ReSharper restore NotAccessedField.Local public Elephant(IAnimalStatusTracker statusTracker) : base(statusTracker) { try { _rightTusk = new byte[0x14000]; _leftTusk = new byte[0x1400]; _leftFrontFoot = new byte[0x14000]; _leftBackFoot = new byte[0x14000]; _rightFrontFoot = new byte[0x14000]; _rightBackFoot = new byte[0x14000]; } catch (OutOfMemoryException) { Logger.LogYellow("Failed to create an elephant, not enough room for such giant"); Kill(); } }
public Animal(IAnimalStatusTracker statusTracker) { _id = AnimalIdGenerator.GetNewId(); _statusTracker = statusTracker; }
public Snake(IAnimalStatusTracker statusTracker) : base(statusTracker) { }
public Rat(IAnimalStatusTracker statusTracker) : base(statusTracker) { }
public Elephant(IAnimalStatusTracker statusTracker) : base(statusTracker) { }
public Dog(IAnimalStatusTracker statusTracker) : base(statusTracker) { }