Added more javadoc

This commit is contained in:
Willem Cazander 2022-01-31 13:40:01 +01:00
parent c50444e04c
commit 1001234fbb
61 changed files with 96 additions and 50 deletions

View file

@ -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;

View file

@ -4,8 +4,8 @@ import com.badlogic.gdx.ScreenAdapter;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class Demo4DMainAdapter extends ScreenAdapter {
protected final Demo4DMain main;

View file

@ -4,8 +4,8 @@ import imgui.type.ImBoolean;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public interface ImGuiRenderer {

View file

@ -2,8 +2,8 @@ package love.distributedrebirth.demo4d;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
abstract public class ImGuiRendererMain implements ImGuiRenderer {

View file

@ -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();

View file

@ -32,8 +32,8 @@ import love.distributedrebirth.demo4d.Demo4DMainAdapter;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenMatrix4D extends Demo4DMainAdapter {
public Environment environment;

View file

@ -13,8 +13,8 @@ import com.badlogic.gdx.utils.GdxRuntimeException;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class UserColorShader implements Shader {
ShaderProgram program;

View file

@ -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 {

View file

@ -16,8 +16,8 @@ import net.spookygames.gdx.nativefilechooser.NativeFileChooserConfiguration;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class MusicPlayerRenderer extends ImGuiRendererMain {

View file

@ -4,8 +4,8 @@ import com.badlogic.gdx.audio.Music;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class MusicSong {
protected final Music music;

View file

@ -2,8 +2,8 @@ package love.distributedrebirth.demo4d.music;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public enum MusicSongType {
INTRO,

View file

@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BasePart;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class BasePartRenderer extends ImGuiRendererMain {

View file

@ -8,8 +8,8 @@ import love.distributedrebirth.demo4d.ImGuiRendererMain;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class BasicConsoleRenderer extends ImGuiRendererMain {

View file

@ -10,8 +10,8 @@ import love.distributedrebirth.numberxd.Gê̄ldGetậl;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class HebrewWalletRenderer extends ImGuiRendererMain {

View file

@ -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",

View file

@ -9,8 +9,8 @@ import love.distributedrebirth.demo4d.Demo4DMain;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenDefault extends ScreenAdapter {
private final Demo4DMain main;

View file

@ -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",

View file

@ -11,8 +11,8 @@ import love.distributedrebirth.demo4d.music.MusicSongType;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenIntro extends ScreenAdapter {
private final Demo4DMain main;

View file

@ -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",

View file

@ -10,8 +10,8 @@ import love.distributedrebirth.demo4d.Demo4DMainAdapter;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public class ScreenUnicode4D extends Demo4DMainAdapter {

View file

@ -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;

View file

@ -8,9 +8,9 @@ import java.util.Iterator;
import java.util.List;
/**
* Terminate from and to classical bytes.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public class Base2Terminator {
private static final int STREAM_EOF = -1;

View file

@ -1,9 +1,9 @@
package love.distributedrebirth.numberxd.base2t;
/**
* Collection appender interface.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public interface BaseAppender<T> {

View file

@ -4,9 +4,9 @@ import java.util.ArrayList;
import java.util.List;
/**
* Octal base based number interface.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public interface BaseNumber<V extends BaseNumber<V>> {

View file

@ -4,9 +4,9 @@ import java.util.ArrayList;
import java.util.List;
/**
* Adds Tyte fill and reference support.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public interface BaseNumberTyte<V extends BaseNumber<V>> extends BaseNumber<V> {

View file

@ -12,8 +12,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BaseFacetKey;
/**
* The distribution by 2.
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public enum T02PartBinary implements BasePart {

View file

@ -12,8 +12,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BaseFacetKey;
/**
* The distribution by 3.
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public enum T03PartTrit implements BasePart {

View file

@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BasePartSplit4;
/**
* The distribution by 4.
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public enum T04PartQuad implements BasePart,BasePartAlt1,BasePartSplit4 {

View file

@ -12,6 +12,7 @@ import love.distributedrebirth.numberxd.base2t.facet.BaseFacetKey;
/**
* The distribution by 5 called Wuxing.
*
* @author willemtsade ©Δ 仙上主天
*/
public enum T05PartPental implements BasePart {

View file

@ -13,11 +13,11 @@ import love.distributedrebirth.numberxd.base2t.facet.BasePartAlt1;
import love.distributedrebirth.numberxd.base2t.facet.BasePartSplit6;
/**
* TThe distribution by 6.
* The distribution by 6.
*
* NOTE: The sexi karlson-speaker is china design 3=6 and 6=9 and in quad space, zero is the result.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public enum T06PartSeximal implements BasePart,BasePartAlt1,BasePartSplit6 {

View file

@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BasePartSplit8;
/**
* The distribution by 8.
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public enum T08PartOctal implements BasePart,BasePartAlt2,BasePartSplit8 {

View file

@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
import java.util.Collection;
/**
* Appender model for Octals.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class T08PartOctalBaseAppender implements BaseAppender<T08PartOctal> {

View file

@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
import java.util.Iterator;
/**
* Iterator model for Octals.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class T08PartOctalBaseIterator implements Iterator<T08PartOctal> {

View file

@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BasePartAlt1;
/**
* The distribution by 12.
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public enum T12PartUncial implements BasePart,BasePartAlt1 {

View file

@ -14,8 +14,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BasePartSplit16;
/**
* The distribution by 16.
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public enum T16PartHex implements BasePart,BasePartAlt1,BasePartSplit16 {

View file

@ -13,8 +13,8 @@ import love.distributedrebirth.numberxd.base2t.facet.BasePartAlt1;
/**
* The distribution by 20.
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public enum T20PartScore implements BasePart,BasePartAlt1 {

View file

@ -14,7 +14,6 @@ import love.distributedrebirth.numberxd.base2t.facet.BaseFacetKey;
* The distribution by 60.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public enum T60Sexagesimal implements BasePart {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 3 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V003Timble implements BaseNumber<V003Timble> {

View file

@ -1,9 +1,9 @@
package love.distributedrebirth.numberxd.base2t;
/**
* Holds an 6 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V006Tixte implements BaseNumber<V006Tixte> {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 9 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V009Tyte implements BaseNumberTyte<V009Tyte> {

View file

@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
import java.util.Collection;
/**
* Appender model for Tytes.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V009TyteBaseAppender implements BaseAppender<V009Tyte> {

View file

@ -3,9 +3,9 @@ package love.distributedrebirth.numberxd.base2t;
import java.util.Iterator;
/**
* Iterator model for Tytes.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V009TyteBaseIterator implements Iterator<V009Tyte> {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 18 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V012Tord implements BaseNumberTyte<V012Tord> {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 27 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V01BTemvig implements BaseNumberTyte<V01BTemvig> {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 36 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V024Teger implements BaseNumberTyte<V024Teger> {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 72 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V048Tong implements BaseNumberTyte<V048Tong> {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 144 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public final class V090Tocta implements BaseNumberTyte<V090Tocta> {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 1620 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public class V654Triz implements BaseNumberTyte<V654Triz> {

View file

@ -4,7 +4,6 @@ package love.distributedrebirth.numberxd.base2t;
* Holds an 3240 bit value.
*
* @author willemtsade ©Δ 仙上主天
*
*/
public class VCA8Tath implements BaseNumberTyte<VCA8Tath> {

View file

@ -1,5 +1,10 @@
package love.distributedrebirth.numberxd.base2t.facet;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public enum BaseFacetKey {
ID_TONE,

View file

@ -2,6 +2,11 @@ package love.distributedrebirth.numberxd.base2t.facet;
import java.util.Map;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BaseFacetStore {
Map<BaseFacetKey, Object> getFacetStore();

View file

@ -2,8 +2,8 @@ package love.distributedrebirth.numberxd.base2t.facet;
/**
*
* @author willemtsade ©Δ 仙上主天
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePart extends BaseFacetStore {

View file

@ -1,5 +1,10 @@
package love.distributedrebirth.numberxd.base2t.facet;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartAlt1 extends BasePart {
default String getAlt1Value() {

View file

@ -1,5 +1,10 @@
package love.distributedrebirth.numberxd.base2t.facet;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartAlt2 extends BasePartAlt1 {
default String getAlt2Value() {

View file

@ -1,5 +1,10 @@
package love.distributedrebirth.numberxd.base2t.facet;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartAlt3 extends BasePartAlt2 {
default String getAlt3Value() {

View file

@ -1,5 +1,10 @@
package love.distributedrebirth.numberxd.base2t.facet;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartAlt4 extends BasePartAlt3 {
default String getAlt4Value() {

View file

@ -1,5 +1,10 @@
package love.distributedrebirth.numberxd.base2t.facet;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartShiftBits extends BasePart {
default Integer getShiftBits() {

View file

@ -3,6 +3,11 @@ package love.distributedrebirth.numberxd.base2t.facet;
import love.distributedrebirth.numberxd.base2t.T02PartBinary;
import love.distributedrebirth.numberxd.base2t.T04PartQuad;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartSplit16 extends BasePart {
default T02PartBinary splitPartBinary(T04PartQuad part) {

View file

@ -2,6 +2,11 @@ package love.distributedrebirth.numberxd.base2t.facet;
import love.distributedrebirth.numberxd.base2t.T02PartBinary;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartSplit4 extends BasePart {
default T02PartBinary splitPartBinary(T02PartBinary part) {

View file

@ -3,6 +3,11 @@ package love.distributedrebirth.numberxd.base2t.facet;
import love.distributedrebirth.numberxd.base2t.T02PartBinary;
import love.distributedrebirth.numberxd.base2t.T03PartTrit;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartSplit6 extends BasePart {
default T02PartBinary splitPartBinary() {

View file

@ -4,6 +4,11 @@ import love.distributedrebirth.numberxd.base2t.T02PartBinary;
import love.distributedrebirth.numberxd.base2t.T03PartTrit;
import love.distributedrebirth.numberxd.base2t.T08PartOctal;
/**
*
*
* @author willemtsade ©Δ 仙上主天
*/
public interface BasePartSplit8 extends BasePartShiftBits {
default T02PartBinary splitPartBinary(T03PartTrit part) {