Ejemplo n.º 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;
        }
Ejemplo n.º 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;
 }
Ejemplo n.º 3
0
Archivo: PNJ.cs Proyecto: floax/kroz
 public PNJ(string name, string genre, int maxHp, ICollection <Items.Item> items, Location.Cell currentCell) : base(name, genre, items, currentCell, maxHp)
 {
 }