Exemplo n.º 1
0
 public FormData(int species, int form, Enums.Gender gender, Enums.Coloration shiny)
 {
     Species = species;
     Form = form;
     Gender = gender;
     Shiny = shiny;
 }
Exemplo n.º 2
0
        public AnimalAbs MockExistingGermanShepherd(int iID, string sName, Enums.Gender eGender)
        {
            GermanShepherd gs = new GermanShepherd(iID, sName);

            gs.Gender = eGender;
            return(gs);
        }
Exemplo n.º 3
0
        public AnimalAbs MockExistingTabby(int iID, string sName, Enums.Gender eGender)
        {
            Tabby tb = new Tabby(iID, sName);

            tb.Gender = eGender;
            return(tb);
        }
Exemplo n.º 4
0
 public UserBasicInfoModel(UserBasicInfoModel user)
 {
     UserId     = user.UserId;
     Gender     = user.Gender;
     Age        = user.Age;
     Name       = user.Name;
     LastName   = user.LastName;
     NickName   = user.NickName;
     FacebookId = user.FacebookId;
 }
Exemplo n.º 5
0
        public Employee(Main g)
        {
            //this.name = name;
            this.game    = g;
            this.p       = (Enums.Personality)g.ran.Next(-3, 3);
            this.g       = (Enums.Gender)(g.ran.Next() % 2);
            skill        = new SkillsSet(p);
            age          = g.ran.Next(21, 65);
            this.exp     = g.ran.Next(age - 21);
            politness    = g.ran.NextDouble();
            this.moral   = 1d;
            sleeps       = 0f;
            learningRate = g.ran.NextDouble();
            List <String> lnames = g.data.getDataFor(0);
            List <String> fnames = g.data.getDataFor(((int)this.g) + 1);

            this.name = fnames[g.ran.Next(fnames.Count)] + " " + lnames[g.ran.Next(fnames.Count)];
            //this.p = ran.Next(0,4);
        }
Exemplo n.º 6
0
 public Resources_Character(string id,
                            string name,
                            string image,
                            Enums.Gender gender,
                            Resources_Building home,
                            int money,
                            int income,
                            int expenses,
                            int strength,
                            Resources_Inventory inventory)
     : base(id,
            name,
            image,
            money,
            income,
            expenses)
 {
     _gender    = gender;
     _home      = home;
     _strength  = strength;
     _inventory = inventory;
 }