chwillms / Jfap_project

0 stars 11 forks source link

Character.levelDown() and Character.levelUp() mixed? #11

Open insa-k opened 5 years ago

insa-k commented 5 years ago

Hey! We were wondering if we do not understand those methods correctly or if Character.levelDown() and Character.levelUp() are somehow mixed up?

  public int levelDown() {
    return ++level;
  }

  public int levelUp() {
    return --level;
  }

Do we actually increase level when we go down and vice versa?

Best Insa

bkiefer commented 5 years ago

Hmm, yes, i think so. The deeper we go, the "higher" our experience, right?