Exemple #1
0
        public Hero(char symbol, string Name, int x, int y, Politics group) : base(symbol, Name, x, y, group)
        {
            this.group  = group;
            this.symbol = symbol;
            CurHealth   = MaxHealth;
            isBlock     = true;
            Inv         = new Inventory();
            journal     = new Journal();
            Perks       = new Perk();
            Info        = new List <Acts>();
            Action del;

            Methods.Add(new Acts("Info", del = Explore));
        }
Exemple #2
0
        //Конструктор человека
        public Person(char symbol, string Name, int x, int y, Politics group) : base(Name, x, y)
        {
            this.group  = group;
            this.symbol = symbol;
            CurHealth   = MaxHealth;
            isBlock     = true;
            Inv         = new Inventory();
            journal     = new Journal();
            Perks       = new Perk();
            Info        = new List <Acts>();
            Action del;

            humanAI = new AI(this, Perks.CurAbils.Inteligence);
            if (Name != "Hero" && Name != "Helper")
            {
                // humanAI.StartThinking();
            }
            Methods.Add(new Acts("Info", del = Explore));
        }