Beispiel #1
0
        public Character(string name, string genre, ICollection <Items.Item> items, Location.Cell currentCell, int maxHp = 100, int level = 1)
        {
            this.name        = name;
            this.genre       = genre;
            this.maxHP       = maxHp;
            this.items       = items;
            this.currentCell = currentCell;

            //Init Default
            this.hp    = maxHP;
            this.level = 1;
        }
Beispiel #2
0
 public PJ(string name, string genre, ICollection <Items.Item> items, ICollection <Items.UsableItem> objects, Location.Cell currentCell, int maxHp) : base(name, genre, items, currentCell, maxHp)
 {
     this.xP = 0;
 }
Beispiel #3
0
Datei: PNJ.cs Projekt: floax/kroz
 public PNJ(string name, string genre, int maxHp, ICollection <Items.Item> items, Location.Cell currentCell) : base(name, genre, items, currentCell, maxHp)
 {
 }