Skip to content

Commit

Permalink
did you know that variable names don't have a length limit
Browse files Browse the repository at this point in the history
  • Loading branch information
Spigey committed May 1, 2024
1 parent 96f1a61 commit 040ec7a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/spigey/asteroide/util.java
Original file line number Diff line number Diff line change
Expand Up @@ -175,4 +175,11 @@ public static void banstuff(){
public static int randomNum(int min, int max) {
return random.nextInt(max - min + 1) + min;
}
public static boolean BoolContains(boolean[] ARRAY, boolean VALUE){
boolean istfgiamsofuckingunmotivatedrnomgplsjustfuckingkillmelikeactuallyiwannakmsrn = false;
for(int i = 0; i < ARRAY.length; i++){
if(ARRAY[i] == VALUE){istfgiamsofuckingunmotivatedrnomgplsjustfuckingkillmelikeactuallyiwannakmsrn = true;}
}
return istfgiamsofuckingunmotivatedrnomgplsjustfuckingkillmelikeactuallyiwannakmsrn;
}
}

0 comments on commit 040ec7a

Please sign in to comment.