tring to make a variable I type it as
public int maxHealth = 100;
is this correct if not how should I be doing this?
If it’s located in a class, then yes, it’s correct.
(Easiest answer ever !)
tring to make a variable I type it as
public int maxHealth = 100;
is this correct if not how should I be doing this?
If it’s located in a class, then yes, it’s correct.
(Easiest answer ever !)