Skip to content

Commit 2fac026

Browse files
SheigutnGrover-c13
authored andcommitted
Added weight getter to Pokemon.java (#309)
1 parent 3a92172 commit 2fac026

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/main/java/com/pokegoapi/api/pokemon/Pokemon.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,10 @@ public float getHeightM() {
306306
return proto.getHeightM();
307307
}
308308

309+
public float getWeightKg() {
310+
return proto.getWeightKg();
311+
}
312+
309313
public int getIndividualAttack() {
310314
return proto.getIndividualAttack();
311315
}

0 commit comments

Comments
 (0)