getter and setter fo isDied
This commit is contained in:
@@ -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;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user