Beispiel #1
0
 public PlayerCharacter(string name, int level, int experience) : base(name)
 {
     EquipedWeapon  = null;
     EquipedArmor   = null;
     Level          = level;
     Experience     = experience;
     this.HitPoints = MaxHitPoints;
     AddActionToList(MoveAction.GetActionBuilder());
     AddActionToList(UseAction.GetActionBuilder());
     AddActionToList(EquipAction.GetActionBuilder());
 }
Beispiel #2
0
        // override bool IsPlayer{get{return true;}set{}}

        public PlayerCharacter(string Name) : base(Name)
        {
            Experience     = 0;
            EquipedWeapon  = null;
            EquipedArmor   = null;
            this.HitPoints = MaxHitPoints;

            AddActionToList(MoveAction.GetActionBuilder());
            AddActionToList(UseAction.GetActionBuilder());
            AddActionToList(EquipAction.GetActionBuilder());
        }