SilvaSix / RPG-Using-Kotlin-Java

Trying Kotlin and creating my first program.
0 stars 0 forks source link

Energy System #3

Open SilvaSix opened 2 years ago

SilvaSix commented 2 years ago

// completed = Create an energy var to game While loop: When over 0 and while alive. Takes energy to do different attacks. Low energy decreases accuracy and defense.

SilvaSix commented 2 years ago

Added private var energy to both Player, Enemy and all subclasses. I set everything to 100. We can add custom stats to enemies in the future.