added health to characters
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user