From ce7dca4993d2d82206a217a81bca04a6bc4d7df9 Mon Sep 17 00:00:00 2001 From: Noxiuam <96212795+Noxiuam@users.noreply.github.com> Date: Wed, 23 Mar 2022 12:56:10 -0400 Subject: [PATCH] Made the bitches look better --- .../noxiuam/bitches/object/AnnoyingBitch.java | 22 +++++++------------ .../java/gq/noxiuam/bitches/object/Bitch.java | 10 +++++++++ .../gq/noxiuam/bitches/object/EmoBitch.java | 18 +++++---------- 3 files changed, 24 insertions(+), 26 deletions(-) diff --git a/src/main/java/gq/noxiuam/bitches/object/AnnoyingBitch.java b/src/main/java/gq/noxiuam/bitches/object/AnnoyingBitch.java index ca43a78..23c3a75 100644 --- a/src/main/java/gq/noxiuam/bitches/object/AnnoyingBitch.java +++ b/src/main/java/gq/noxiuam/bitches/object/AnnoyingBitch.java @@ -1,24 +1,18 @@ package gq.noxiuam.bitches.object; -import com.github.javafaker.Faker; -import gq.noxiuam.bitches.object.data.Gender; -import gq.noxiuam.bitches.object.data.Race; import lombok.*; -import java.util.Random; - // This is a prime example of what Mainzz (former Onix Client admin) is -@Getter @AllArgsConstructor +@Getter public class AnnoyingBitch extends Bitch { - private int annoyingLevel; + private final int annoyingLevel; - private boolean pregnant; - private boolean fatherless; + private final boolean pregnant, fatherless; - public AnnoyingBitch() { - this.setName(new Faker().name().firstName()); - this.setAge(new Random().nextInt(30) + 18); - this.setRace(Race.values()[new Random().nextInt(Race.values().length)]); - this.setGender(Gender.values()[new Random().nextInt(Race.values().length)]); + public AnnoyingBitch(int annoyingLevel, boolean pregnant, boolean fatherless) { + this.annoyingLevel = annoyingLevel; + this.pregnant = pregnant; + this.fatherless = fatherless; + this.createNewBitch(); } } \ No newline at end of file diff --git a/src/main/java/gq/noxiuam/bitches/object/Bitch.java b/src/main/java/gq/noxiuam/bitches/object/Bitch.java index ee03479..b4415f7 100644 --- a/src/main/java/gq/noxiuam/bitches/object/Bitch.java +++ b/src/main/java/gq/noxiuam/bitches/object/Bitch.java @@ -1,9 +1,12 @@ package gq.noxiuam.bitches.object; +import com.github.javafaker.Faker; import gq.noxiuam.bitches.object.data.Gender; import gq.noxiuam.bitches.object.data.Race; import lombok.*; +import java.util.Random; + // Generic bitch @Getter @Setter @AllArgsConstructor @NoArgsConstructor @@ -14,4 +17,11 @@ public class Bitch { private Race race; private Gender gender; + + public void createNewBitch() { + this.setName(new Faker().name().firstName()); + this.setAge(new Random().nextInt(30) + 18); + this.setRace(Race.values()[new Random().nextInt(Race.values().length)]); + this.setGender(Gender.values()[new Random().nextInt(Race.values().length)]); + } } \ No newline at end of file diff --git a/src/main/java/gq/noxiuam/bitches/object/EmoBitch.java b/src/main/java/gq/noxiuam/bitches/object/EmoBitch.java index 879558b..a0c1047 100644 --- a/src/main/java/gq/noxiuam/bitches/object/EmoBitch.java +++ b/src/main/java/gq/noxiuam/bitches/object/EmoBitch.java @@ -1,21 +1,15 @@ package gq.noxiuam.bitches.object; -import com.github.javafaker.Faker; -import gq.noxiuam.bitches.object.data.Gender; -import gq.noxiuam.bitches.object.data.Race; import lombok.*; -import java.util.Random; - // Basically what 90% of Lunar Client's discord is -@Getter @AllArgsConstructor +@Getter public class EmoBitch extends Bitch { - private boolean hasBarcodeWrists, wearsBlackClothes; + private final boolean hasBarcodeWrists, wearsBlackClothes; - public EmoBitch() { - this.setName(new Faker().name().firstName()); - this.setAge(new Random().nextInt(30) + 18); - this.setRace(Race.values()[new Random().nextInt(Race.values().length)]); - this.setGender(Gender.values()[new Random().nextInt(Race.values().length)]); + public EmoBitch(boolean hasBarcodeWrists, boolean wearsBlackClothes) { + this.hasBarcodeWrists = hasBarcodeWrists; + this.wearsBlackClothes = wearsBlackClothes; + this.createNewBitch(); } } \ No newline at end of file