added health to characters

This commit is contained in:
Sem van der Hoeven
2020-06-02 23:40:25 +02:00
parent 087c3a7193
commit be0703ba61
3 changed files with 35 additions and 0 deletions

View File

@@ -99,6 +99,7 @@ public class MainGame extends ApplicationAdapter {
mapRenderer.getGameTiles()[1][1].visit(testCharacter);
mapRenderer.getGameTiles()[1][2].visit(character2);
this.team = new Team();
this.team.addMember(this.testCharacter, character2);
}
@@ -192,4 +193,8 @@ public class MainGame extends ApplicationAdapter {
public boolean hasCharacterSelected() {
return selectedCharacter != null;
}
public Team getTeam() {
return team;
}
}