예제 #1
0
파일: Character.cs 프로젝트: floax/kroz
        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;
        }
예제 #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;
 }
예제 #3
0
파일: PNJ.cs 프로젝트: floax/kroz
 public PNJ(string name, string genre, int maxHp, ICollection <Items.Item> items, Location.Cell currentCell) : base(name, genre, items, currentCell, maxHp)
 {
 }