Skip to content
Snippets Groups Projects
Commit abd29ce0 authored by phenixceleste's avatar phenixceleste
Browse files

gngngn call function rename

parent deabfa8a
No related branches found
No related tags found
1 merge request!11Resolve "Trainer class"
Pipeline #9732 passed with stage
in 1 minute and 31 seconds
......@@ -7,5 +7,5 @@ class Trainer(val name: String, var listPokemon: List[Pokemon], var indexPrimary
this.listPokemon.lift(this.indexPrimaryPokemon)
def changePrimaryPokemon(index: Int): Unit =
assert(0 <= index && index < this.getNumberPokemon)
assert(0 <= index && index < this.numberPokemon)
this.indexPrimaryPokemon = index
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment