Added more javadoc
This commit is contained in:
parent
c50444e04c
commit
1001234fbb
61 changed files with 96 additions and 50 deletions
|
|
@ -30,9 +30,9 @@ import love.distributedrebirth.demo4d.screen.ScreenUnicode4D;
|
|||
import net.spookygames.gdx.nativefilechooser.NativeFileChooser;
|
||||
|
||||
/**
|
||||
* Main loop render dispatcher and event handling.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
*/
|
||||
public class Demo4DMain extends Game {
|
||||
private List<String> args;
|
||||
|
|
|
|||
|
|
@ -3,9 +3,9 @@ package love.distributedrebirth.demo4d;
|
|||
import com.badlogic.gdx.ScreenAdapter;
|
||||
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
*/
|
||||
public class Demo4DMainAdapter extends ScreenAdapter {
|
||||
protected final Demo4DMain main;
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import imgui.type.ImBoolean;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public interface ImGuiRenderer {
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ package love.distributedrebirth.demo4d;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
abstract public class ImGuiRendererMain implements ImGuiRenderer {
|
||||
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@ import imgui.glfw.ImGuiImplGlfw;
|
|||
import love.distributedrebirth.numberxd.base2t.T60Sexagesimal;
|
||||
|
||||
/**
|
||||
* Create and shutdown of ImGui and font activations.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
*/
|
||||
public class ImGuiSetup {
|
||||
public static final ImGuiImplGlfw imGuiImp = new ImGuiImplGlfw();
|
||||
|
|
|
|||
|
|
@ -32,8 +32,8 @@ import love.distributedrebirth.demo4d.Demo4DMainAdapter;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class ScreenMatrix4D extends Demo4DMainAdapter {
|
||||
public Environment environment;
|
||||
|
|
|
|||
|
|
@ -13,8 +13,8 @@ import com.badlogic.gdx.utils.GdxRuntimeException;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class UserColorShader implements Shader {
|
||||
ShaderProgram program;
|
||||
|
|
|
|||
|
|
@ -9,9 +9,9 @@ import com.badlogic.gdx.audio.Music.OnCompletionListener;
|
|||
import com.badlogic.gdx.files.FileHandle;
|
||||
|
||||
/**
|
||||
* Manages the background and others songs.
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
*/
|
||||
public class MusicManager {
|
||||
|
||||
|
|
|
|||
|
|
@ -16,8 +16,8 @@ import net.spookygames.gdx.nativefilechooser.NativeFileChooserConfiguration;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class MusicPlayerRenderer extends ImGuiRendererMain {
|
||||
|
||||
|
|
|
|||
|
|
@ -4,8 +4,8 @@ import com.badlogic.gdx.audio.Music;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class MusicSong {
|
||||
protected final Music music;
|
||||
|
|
|
|||
|
|
@ -2,8 +2,8 @@ package love.distributedrebirth.demo4d.music;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public enum MusicSongType {
|
||||
INTRO,
|
||||
|
|
|
|||
|
|
@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BasePart;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class BasePartRenderer extends ImGuiRendererMain {
|
||||
|
||||
|
|
|
|||
|
|
@ -8,8 +8,8 @@ import love.distributedrebirth.demo4d.ImGuiRendererMain;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class BasicConsoleRenderer extends ImGuiRendererMain {
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ import love.distributedrebirth.numberxd.Gê̄ldGetậl;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class HebrewWalletRenderer extends ImGuiRendererMain {
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import love.distributedrebirth.demo4d.music.MusicSongType;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class ScreenCredits extends ScrollScreenAdapter {
|
||||
private final String creditsText = String.join("\n",
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import love.distributedrebirth.demo4d.Demo4DMain;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class ScreenDefault extends ScreenAdapter {
|
||||
private final Demo4DMain main;
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@ import love.distributedrebirth.demo4d.Demo4DMain;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class ScreenHelp extends ScrollScreenAdapter {
|
||||
private final String creditsText = String.join("\n",
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ import love.distributedrebirth.demo4d.music.MusicSongType;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class ScreenIntro extends ScreenAdapter {
|
||||
private final Demo4DMain main;
|
||||
|
|
|
|||
|
|
@ -7,8 +7,8 @@ import love.distributedrebirth.demo4d.music.MusicSongType;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class ScreenIntroMission extends ScrollScreenAdapter {
|
||||
private final String missionText = String.join("\n",
|
||||
|
|
|
|||
|
|
@ -10,8 +10,8 @@ import love.distributedrebirth.demo4d.Demo4DMainAdapter;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
public class ScreenUnicode4D extends Demo4DMainAdapter {
|
||||
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ import love.distributedrebirth.demo4d.Demo4DMainAdapter;
|
|||
|
||||
/**
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*
|
||||
* @author willemtsade ©Δ∞ 仙上主天
|
||||
*/
|
||||
abstract public class ScrollScreenAdapter extends Demo4DMainAdapter {
|
||||
private static final int LINE_HEIGHT = 16;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue