I'm making a game.
·If you save 100 exps, you will be able to improve your level
·When you raise the level, you increase the variable value of the class called status class by one
There may be some parts that don't make sense here and there.
The problem is that if you pass the value of subclass (exp10) to mainclass and exp becomes 100 in mainclass,
I would like to level up and hand over the number 1 to another class (exampleclass).Also, please point out other wrong parts
Example: Defeat an enemy, get exp (10 exp)c#
I will use the answer field to point out the problem with the code in the questionnaire.
Do you mean that you are asking how to add
public void main(int exp) and arguments to
© 2022 OneMinuteCode. All rights reserved.