This repository has been archived by the owner on Aug 16, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
you got java, you got classes, and the first thing you do is to have …
…*everything* put into the same class. do you have any idea how bad this is, do you have any idea that you are literally not using the main part of java? (c) FarmerThanos
- Loading branch information
1 parent
267962a
commit c215165
Showing
3 changed files
with
30 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package chaos.horny; | ||
|
||
import arc.Events; | ||
import mindustry.game.EventType; | ||
|
||
public class HentaiEvents { | ||
public HentaiEvents(){ | ||
Events.on(EventType.WorldLoadEvent.class,r->{ | ||
//hornySoundsMap.get("worldLoadEvent").play(1f, 1f, 0f); | ||
}); | ||
Events.on(EventType.UnitDestroyEvent.class,e->{ | ||
if(e.unit.isPlayer()){ | ||
//hornySoundsMap.get("yamete_kudosai").play(1f, 1f, 0f); | ||
}else{ | ||
//hornySoundsMap.get("hornyOhNo1").play(1f, 1f, 0f); | ||
} | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,13 +2,11 @@ | |
|
||
//owned by horny part of cumunity | ||
|
||
import arc.Events; | ||
import arc.audio.Sound; | ||
import mindustry.game.EventType; | ||
import chaos.horny.interfaces.HentaiInterfaces; | ||
import mindustry.game.Schematic; | ||
|
||
import java.util.HashMap; | ||
import java.util.Map; | ||
import java.util.*; | ||
|
||
import static mindustry.Vars.ui; | ||
|
||
|
@@ -19,34 +17,19 @@ public class HentaiMain{ | |
|
||
public HentaiMain(){ | ||
if(showHornyConfirm()){ | ||
eventsLoader(); | ||
interfaceOverride(); | ||
loadAssets(); | ||
new HentaiEvents(); | ||
new HentaiInterfaces(); | ||
} | ||
} | ||
//you got java, you got classes, and the first thing you do is to have *everything* put into the same class. do you have any idea how bad this is, do you have any idea that you are literally not using the main part of java? | ||
public void eventsLoader(){ | ||
Events.on(EventType.WorldLoadEvent.class,r->{ | ||
//hornySoundsMap.get("worldLoadEvent").play(1f, 1f, 0f); | ||
}); | ||
Events.on(EventType.UnitDestroyEvent.class,e->{ | ||
if(e.unit.isPlayer()){ | ||
//hornySoundsMap.get("yamete_kudosai").play(1f, 1f, 0f); | ||
}else{ | ||
//hornySoundsMap.get("hornyOhNo1").play(1f, 1f, 0f); | ||
} | ||
}); | ||
} | ||
public void interfaceOverride(){ | ||
//some custom interfaces and menus should be there | ||
} | ||
|
||
public void loadAssets(){ | ||
//coming soon, assets in active search. If you can help with search send any content to [email protected] or сестрёнка#8227 | ||
} | ||
|
||
private boolean showHornyConfirm(){ | ||
try{ | ||
ui.showConfirm("@confirm", "Is you 18+ older?", () -> { | ||
ui.showConfirm("@confirm", "Are you 18+ older?", () -> { | ||
throw new RuntimeException("Hentai is confirmed"); | ||
}); | ||
}catch (Exception confirmed){ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package chaos.horny.interfaces; | ||
|
||
public class HentaiInterfaces { | ||
//some custom interfaces and menus should be there | ||
} |