getter and setter fo isDied

This commit is contained in:
Hanno Fleischer
2024-12-11 16:49:45 +01:00
parent 8201ab4b63
commit 4b665c4cf2

View File

@@ -87,4 +87,22 @@ public void received(AnimationEndMessage msg, int from) {
}
}
}
/**
* This method is used to get the isDied boolean.
*
* @return the isDied boolean.
*/
public boolean isDied() {
return isDied;
}
/**
* This method is used to set the isDied boolean.
*
* @param isDied as a boolean.
*/
public void setIsDied(boolean isDied) {
this.isDied = isDied;
}
}