Пример #1
0
 public RabbitClass(EyesType eyesRabbit, FurType furOfRabbit, GenderType gender, DateTime birthdayRabbit)
 {
     EyesRabbit     = eyesRabbit;
     FurOfRabbit    = furOfRabbit;
     Gender         = gender;
     BirthdayRabbit = birthdayRabbit;
 }
Пример #2
0
 public Rabbit(EyesType eyes, FurType fur, GenderType gender, int birthDate, string type, string behavior)
 {
     eyes      = eyes;
     fur       = fur;
     gender    = gender;
     BirthDate = birthDate;
     Type      = type;
     Behavior  = behavior;
 }
Пример #3
0
        public Fur(FurType type, int amount)
            : base(0x1875)
        {
            Stackable = true;
            Amount    = amount;

            switch (type)
            {
            default:
            case FurType.None: Hue = 0; break;

            case FurType.Green: Hue = 58; break;

            case FurType.LightBrown: Hue = 1541; break;

            case FurType.Yellow: Hue = 153; break;

            case FurType.Brown: Hue = 343; break;
            }
        }
Пример #4
0
 public Bunny(string name, int age, FurType furType)
 {
     this.Name = name;
     this.Age = age;
     this.FurType = furType;
 }
Пример #5
0
 public Bunny(string name, int age, FurType furType)
 {
     this.Name    = name;
     this.Age     = age;
     this.FurType = furType;
 }
Пример #6
0
 public Bunny(string name, int age, FurType furType)
 {
     this.Name    = string.Empty;
     this.Age     = 0;
     this.FurType = FurType.NotFluffy;
 }