Browse Source

Added getEntity() to BlackJack

This method returns the Entity by the enum
remotes/origin/quiz
Friederike von Gruben 2 years ago
parent
commit
0792129990
  1. 4
      src/main/java/org/bitbiome/classes/BlackJack.java

4
src/main/java/org/bitbiome/classes/BlackJack.java

@ -57,4 +57,8 @@ public class BlackJack {
public boolean isIn(Entity entity) {
return entity == Entity.PLAYER ? playerIn : botIn;
}
public Entity getEntity(int ID) {
return Entity.getEventStatusById(ID);
}
}
Loading…
Cancel
Save