From 875e8086e427b7d975c43bc46d224efe284a71bd Mon Sep 17 00:00:00 2001 From: halotroop2288 Date: Wed, 18 Sep 2019 12:50:34 -0700 Subject: [PATCH] Setting up abstracts pt1 (Also added libraries) --- .classpath | 11 +++++------ pom.xml | 1 + .../litecraft/registries/BlockList.java | 18 ++++++++++++++++++ .../litecraft/registries/EntityList.java | 5 +++++ .../litecraft/registries/ItemList.java | 6 ++++++ .../halotroop/litecraft/types/block/Block.java | 5 +++++ .../halotroop/litecraft/types/gui/HUD.java | 11 +++++++++++ .../litecraft/types/gui/MainMenu.java | 11 +++++++++++ .../halotroop/litecraft/types/gui/Menu.java | 11 +++++++++++ .../halotroop/litecraft/types/item/Item.java | 5 +++++ 10 files changed, 78 insertions(+), 6 deletions(-) create mode 100644 src/com/github/halotroop/litecraft/registries/BlockList.java create mode 100644 src/com/github/halotroop/litecraft/registries/EntityList.java create mode 100644 src/com/github/halotroop/litecraft/registries/ItemList.java create mode 100644 src/com/github/halotroop/litecraft/types/block/Block.java create mode 100644 src/com/github/halotroop/litecraft/types/gui/HUD.java create mode 100644 src/com/github/halotroop/litecraft/types/gui/MainMenu.java create mode 100644 src/com/github/halotroop/litecraft/types/gui/Menu.java create mode 100644 src/com/github/halotroop/litecraft/types/item/Item.java diff --git a/.classpath b/.classpath index 7798ae9..ed83dc4 100644 --- a/.classpath +++ b/.classpath @@ -7,17 +7,16 @@ - - - - - - + + + + + diff --git a/pom.xml b/pom.xml index 099ce04..e003ff9 100644 --- a/pom.xml +++ b/pom.xml @@ -45,5 +45,6 @@ org.lwjgllwjgl-openal${lwjgl.natives} org.lwjgllwjgl-opengl${lwjgl.natives} org.jomljoml${joml.version} + org.spongepowerednoise2.0.0-SNAPSHOT \ No newline at end of file diff --git a/src/com/github/halotroop/litecraft/registries/BlockList.java b/src/com/github/halotroop/litecraft/registries/BlockList.java new file mode 100644 index 0000000..2ceb751 --- /dev/null +++ b/src/com/github/halotroop/litecraft/registries/BlockList.java @@ -0,0 +1,18 @@ +package com.github.halotroop.litecraft.registries; + +import java.util.List; + +import com.github.halotroop.litecraft.types.block.Block; + +public class BlockList +{ + public static List blocks; + + public static Block dirt; + public static Block stone; + + public BlockList() + { + + } +} diff --git a/src/com/github/halotroop/litecraft/registries/EntityList.java b/src/com/github/halotroop/litecraft/registries/EntityList.java new file mode 100644 index 0000000..44659f8 --- /dev/null +++ b/src/com/github/halotroop/litecraft/registries/EntityList.java @@ -0,0 +1,5 @@ +package com.github.halotroop.litecraft.registries; + +public class EntityList +{ +} diff --git a/src/com/github/halotroop/litecraft/registries/ItemList.java b/src/com/github/halotroop/litecraft/registries/ItemList.java new file mode 100644 index 0000000..c43799e --- /dev/null +++ b/src/com/github/halotroop/litecraft/registries/ItemList.java @@ -0,0 +1,6 @@ +package com.github.halotroop.litecraft.registries; + +public class ItemList +{ + +} diff --git a/src/com/github/halotroop/litecraft/types/block/Block.java b/src/com/github/halotroop/litecraft/types/block/Block.java new file mode 100644 index 0000000..5af082f --- /dev/null +++ b/src/com/github/halotroop/litecraft/types/block/Block.java @@ -0,0 +1,5 @@ +package com.github.halotroop.litecraft.types.block; + +public class Block +{ +} diff --git a/src/com/github/halotroop/litecraft/types/gui/HUD.java b/src/com/github/halotroop/litecraft/types/gui/HUD.java new file mode 100644 index 0000000..7ced3a1 --- /dev/null +++ b/src/com/github/halotroop/litecraft/types/gui/HUD.java @@ -0,0 +1,11 @@ +package com.github.halotroop.litecraft.types.gui; + +import com.bwyap.engine.gui.GUI; + +public abstract class HUD extends GUI +{ + public HUD(float width, float height) + { + super(width, height); + } +} diff --git a/src/com/github/halotroop/litecraft/types/gui/MainMenu.java b/src/com/github/halotroop/litecraft/types/gui/MainMenu.java new file mode 100644 index 0000000..2c22713 --- /dev/null +++ b/src/com/github/halotroop/litecraft/types/gui/MainMenu.java @@ -0,0 +1,11 @@ +package com.github.halotroop.litecraft.types.gui; + +import com.bwyap.engine.gui.GUI; + +public class MainMenu extends Menu +{ + public MainMenu(float width, float height) + { + super(width, height); + } +} diff --git a/src/com/github/halotroop/litecraft/types/gui/Menu.java b/src/com/github/halotroop/litecraft/types/gui/Menu.java new file mode 100644 index 0000000..225dcf2 --- /dev/null +++ b/src/com/github/halotroop/litecraft/types/gui/Menu.java @@ -0,0 +1,11 @@ +package com.github.halotroop.litecraft.types.gui; + +import com.bwyap.engine.gui.GUI; + +public abstract class Menu extends GUI +{ + public Menu(float width, float height) + { + super(width, height); + } +} diff --git a/src/com/github/halotroop/litecraft/types/item/Item.java b/src/com/github/halotroop/litecraft/types/item/Item.java new file mode 100644 index 0000000..36064a5 --- /dev/null +++ b/src/com/github/halotroop/litecraft/types/item/Item.java @@ -0,0 +1,5 @@ +package com.github.halotroop.litecraft.types.item; + +public class Item +{ +}