Pixel was moved to another package

This commit is contained in:
Robert Vokac 2024-12-22 21:18:57 +01:00
parent 1fee1e2456
commit a9098b95c7
Signed by: robertvokac
GPG Key ID: FB9CE8E20AADA55F
36 changed files with 203 additions and 204 deletions

View File

@ -5,7 +5,7 @@ plugins {
id 'maven-publish'
}
group = 'com.pixelgamelibrary'
group = 'com.openeggbert.pixel'
version = '0.0.0-SNAPSHOT'
repositories {
@ -48,7 +48,7 @@ dependencies {
compileOnly "org.projectlombok:lombok:$lombokVersion"
testImplementation "org.junit.jupiter:junit-jupiter-api:5.10.3"
testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.10.3"
implementation "com.pixelgamelibrary:pixel:$pixelVersion"
implementation "com.openeggbert.pixel:pixel-framework:$pixelVersion"
implementation "com.github.earlygrey:shapedrawer:$shapeDrawerVersion"
@ -85,7 +85,7 @@ idea {
// Include Pixel.gwt.xml in the JAR without moving it
jar {
from(sourceSets.main.allSource) {
include 'com/pixelgamelibrary/backend/pixelbackendlibgdx.gwt.xml'
include 'com/openeggbert/pixel/backend/pixelbackendlibgdx.gwt.xml'
}
}
@ -109,7 +109,7 @@ publishing {
publications {
mavenJava(MavenPublication) {
artifactId 'pixel-backend-libgdx'
groupId 'com.pixelgamelibrary'
groupId 'com.openeggbert.pixel'
from components.java
artifact sourceJar

View File

@ -17,9 +17,9 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.files;
package com.openeggbert.pixel.backend.libgdx.files;
import com.pixelgamelibrary.api.Platform;
import com.openeggbert.pixel.framework.Platform;
/**
*

View File

@ -18,20 +18,20 @@
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.files;
package com.openeggbert.pixel.backend.libgdx.files;
import com.pixelgamelibrary.api.utils.AssetsTxt;
import com.openeggbert.pixel.framework.utils.AssetsTxt;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.pixelgamelibrary.api.Pixel;
import com.pixelgamelibrary.api.Platform;
import com.pixelgamelibrary.api.files.FileType;
import com.pixelgamelibrary.api.files.RegularFileType;
import com.pixelgamelibrary.api.files.FileSystemType;
import com.openeggbert.pixel.framework.Pixel;
import com.openeggbert.pixel.framework.Platform;
import com.openeggbert.pixel.framework.files.FileType;
import com.openeggbert.pixel.framework.files.RegularFileType;
import com.openeggbert.pixel.framework.files.FileSystemType;
import java.util.List;
import java.util.stream.Collectors;
import lombok.Getter;
import com.pixelgamelibrary.api.files.FileSystem;
import com.openeggbert.pixel.framework.files.FileSystem;
/**
*

View File

@ -17,18 +17,18 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.files;
package com.openeggbert.pixel.backend.libgdx.files;
import com.badlogic.gdx.Gdx;
import com.pixelgamelibrary.api.Pixel;
import com.pixelgamelibrary.api.files.FileType;
import com.pixelgamelibrary.api.files.RegularFileType;
import com.pixelgamelibrary.api.files.FileException;
import com.pixelgamelibrary.api.files.FileSystemType;
import com.openeggbert.pixel.framework.Pixel;
import com.openeggbert.pixel.framework.files.FileType;
import com.openeggbert.pixel.framework.files.RegularFileType;
import com.openeggbert.pixel.framework.files.FileException;
import com.openeggbert.pixel.framework.files.FileSystemType;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;
import com.pixelgamelibrary.api.files.FileSystem;
import com.openeggbert.pixel.framework.files.FileSystem;
/**
*

View File

@ -17,9 +17,9 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.files;
package com.openeggbert.pixel.backend.libgdx.files;
import com.pixelgamelibrary.api.Platform;
import com.openeggbert.pixel.framework.Platform;
/**
*

View File

@ -17,12 +17,12 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.files;
package com.openeggbert.pixel.backend.libgdx.files;
import com.pixelgamelibrary.api.Pixel;
import com.pixelgamelibrary.api.Platform;
import com.pixelgamelibrary.api.files.FileException;
import com.pixelgamelibrary.api.files.FileSystem;
import com.openeggbert.pixel.framework.Pixel;
import com.openeggbert.pixel.framework.Platform;
import com.openeggbert.pixel.framework.files.FileException;
import com.openeggbert.pixel.framework.files.FileSystem;
/**
*

View File

@ -17,12 +17,12 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.files;
package com.openeggbert.pixel.backend.libgdx.files;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Preferences;
import com.pixelgamelibrary.api.Platform;
import com.pixelgamelibrary.api.files.map.MapFileSystem;
import com.openeggbert.pixel.framework.Platform;
import com.openeggbert.pixel.framework.files.map.MapFileSystem;
/**
*
@ -36,7 +36,7 @@ public class PreferencesFileSystem extends MapFileSystem {
}
public PreferencesFileSystem() {
this("com.pixelgamelibrary.backend.libgdx.files.PreferencesFileSystem");
this("com.openeggbert.pixel.backend.libgdx.files.PreferencesFileSystem");
}
public PreferencesFileSystem(String preferencesName) {

View File

@ -17,10 +17,10 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.files;
package com.openeggbert.pixel.backend.libgdx.files;
import com.badlogic.gdx.Preferences;
import com.pixelgamelibrary.api.files.map.SimpleMap;
import com.openeggbert.pixel.framework.files.map.SimpleMap;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;

View File

@ -17,13 +17,13 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.game;
package com.openeggbert.pixel.backend.libgdx.game;
import com.pixelgamelibrary.api.game.GameWrapper;
import com.pixelgamelibrary.api.OnSetScreenListener;
import com.pixelgamelibrary.backend.libgdx.screen.LibGdxScreen;
import com.pixelgamelibrary.api.game.Game;
import com.pixelgamelibrary.api.screen.Screen;
import com.openeggbert.pixel.framework.game.GameWrapper;
import com.openeggbert.pixel.framework.OnSetScreenListener;
import com.openeggbert.pixel.backend.libgdx.screen.LibGdxScreen;
import com.openeggbert.pixel.framework.game.Game;
import com.openeggbert.pixel.framework.screen.Screen;
/**
*

View File

@ -17,20 +17,20 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.graphics;
package com.openeggbert.pixel.backend.libgdx.graphics;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.pixelgamelibrary.api.files.File;
import com.pixelgamelibrary.api.graphics.Color;
import com.pixelgamelibrary.api.graphics.SpriteBatch;
import com.pixelgamelibrary.api.graphics.TextureRegion;
import com.pixelgamelibrary.backend.libgdx.utils.LibGdxBackendUtils;
import com.openeggbert.pixel.framework.files.File;
import com.openeggbert.pixel.framework.graphics.Color;
import com.openeggbert.pixel.framework.graphics.SpriteBatch;
import com.openeggbert.pixel.framework.graphics.TextureRegion;
import com.openeggbert.pixel.backend.libgdx.utils.LibGdxBackendUtils;
/**
*
* @author robertvokac
*/
public class LibGdxBitmapFont implements com.pixelgamelibrary.api.graphics.BitmapFont {
public class LibGdxBitmapFont implements com.openeggbert.pixel.framework.graphics.BitmapFont {
private com.badlogic.gdx.graphics.g2d.BitmapFont internalBitmapFont;
private boolean disposed = false;

View File

@ -17,12 +17,12 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.graphics;
package com.openeggbert.pixel.backend.libgdx.graphics;
import com.pixelgamelibrary.api.files.File;
import com.pixelgamelibrary.api.graphics.BitmapFont;
import com.pixelgamelibrary.api.graphics.BitmapFontFactory;
import com.pixelgamelibrary.api.graphics.TextureRegion;
import com.openeggbert.pixel.framework.files.File;
import com.openeggbert.pixel.framework.graphics.BitmapFont;
import com.openeggbert.pixel.framework.graphics.BitmapFontFactory;
import com.openeggbert.pixel.framework.graphics.TextureRegion;
/**

View File

@ -17,15 +17,15 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.graphics;
package com.openeggbert.pixel.backend.libgdx.graphics;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Graphics;
import com.pixelgamelibrary.api.PixelException;
import com.pixelgamelibrary.api.ViewMode;
import static com.pixelgamelibrary.api.ViewMode.WINDOW;
import com.pixelgamelibrary.api.graphics.Monitor;
import com.pixelgamelibrary.api.graphics.MonitorMode;
import com.openeggbert.pixel.framework.PixelException;
import com.openeggbert.pixel.framework.ViewMode;
import static com.openeggbert.pixel.framework.ViewMode.WINDOW;
import com.openeggbert.pixel.framework.graphics.Monitor;
import com.openeggbert.pixel.framework.graphics.MonitorMode;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;

View File

@ -17,20 +17,20 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.graphics;
package com.openeggbert.pixel.backend.libgdx.graphics;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.pixelgamelibrary.api.graphics.Color;
import com.pixelgamelibrary.api.graphics.Texture;
import com.pixelgamelibrary.api.math.Angle;
import com.pixelgamelibrary.backend.libgdx.utils.LibGdxBackendUtils;
import com.openeggbert.pixel.framework.graphics.Color;
import com.openeggbert.pixel.framework.graphics.Texture;
import com.openeggbert.pixel.framework.math.Angle;
import com.openeggbert.pixel.backend.libgdx.utils.LibGdxBackendUtils;
/**
*
* @author robertvokac
*/
public class LibGdxShapeRenderer implements com.pixelgamelibrary.api.graphics.ShapeRenderer {
public class LibGdxShapeRenderer implements com.openeggbert.pixel.framework.graphics.ShapeRenderer {
private space.earlygrey.shapedrawer.ShapeDrawer internalShapeRenderer;
private boolean disposed = false;
@ -73,12 +73,12 @@ public class LibGdxShapeRenderer implements com.pixelgamelibrary.api.graphics.Sh
}
@Override
public void setTextureRegion(com.pixelgamelibrary.api.graphics.TextureRegion textureRegion) {
public void setTextureRegion(com.openeggbert.pixel.framework.graphics.TextureRegion textureRegion) {
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
}
@Override
public com.pixelgamelibrary.api.graphics.TextureRegion getTextureRegion() {
public com.openeggbert.pixel.framework.graphics.TextureRegion getTextureRegion() {
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
}

View File

@ -17,15 +17,15 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.graphics;
package com.openeggbert.pixel.backend.libgdx.graphics;
import com.pixelgamelibrary.api.graphics.ShapeRenderer;
import com.openeggbert.pixel.framework.graphics.ShapeRenderer;
/**
*
* @author robertvokac
*/
public class LibGdxSpriteBatch implements com.pixelgamelibrary.api.graphics.SpriteBatch {
public class LibGdxSpriteBatch implements com.openeggbert.pixel.framework.graphics.SpriteBatch {
private com.badlogic.gdx.graphics.g2d.SpriteBatch internalBatch;
private boolean disposed = false;
@ -53,13 +53,13 @@ public class LibGdxSpriteBatch implements com.pixelgamelibrary.api.graphics.Spri
}
@Override
public void draw(com.pixelgamelibrary.api.graphics.Texture texture, int x, int y, int width, int height) {
public void draw(com.openeggbert.pixel.framework.graphics.Texture texture, int x, int y, int width, int height) {
LibGdxTexture libGdxTexture = (LibGdxTexture) texture;
this.internalBatch.draw(libGdxTexture.getInternalTexture(), x, y, width, height);
}
@Override
public void draw(com.pixelgamelibrary.api.graphics.Texture texture, int x, int y) {
public void draw(com.openeggbert.pixel.framework.graphics.Texture texture, int x, int y) {
LibGdxTexture libGdxTexture = (LibGdxTexture) texture;
this.internalBatch.draw(libGdxTexture.getInternalTexture(), x, y);
}

View File

@ -17,10 +17,10 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.graphics;
package com.openeggbert.pixel.backend.libgdx.graphics;
import com.pixelgamelibrary.api.graphics.SpriteBatch;
import com.pixelgamelibrary.api.graphics.SpriteBatchFactory;
import com.openeggbert.pixel.framework.graphics.SpriteBatch;
import com.openeggbert.pixel.framework.graphics.SpriteBatchFactory;
/**
*

View File

@ -17,20 +17,20 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.graphics;
package com.openeggbert.pixel.backend.libgdx.graphics;
import com.badlogic.gdx.graphics.Pixmap.Format;
import com.badlogic.gdx.graphics.TextureData;
import com.pixelgamelibrary.api.files.File;
import com.pixelgamelibrary.api.graphics.ColorMode;
import com.pixelgamelibrary.api.graphics.Pixmap;
import com.pixelgamelibrary.backend.libgdx.utils.LibGdxBackendUtils;
import com.openeggbert.pixel.framework.files.File;
import com.openeggbert.pixel.framework.graphics.ColorMode;
import com.openeggbert.pixel.framework.graphics.Pixmap;
import com.openeggbert.pixel.backend.libgdx.utils.LibGdxBackendUtils;
/**
*
* @author robertvokac
*/
public class LibGdxTexture implements com.pixelgamelibrary.api.graphics.Texture {
public class LibGdxTexture implements com.openeggbert.pixel.framework.graphics.Texture {
private com.badlogic.gdx.graphics.Texture internalTexture;
private boolean disposed = false;

View File

@ -17,11 +17,11 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.graphics;
package com.openeggbert.pixel.backend.libgdx.graphics;
import com.pixelgamelibrary.api.files.File;
import com.pixelgamelibrary.api.graphics.Texture;
import com.pixelgamelibrary.api.graphics.TextureFactory;
import com.openeggbert.pixel.framework.files.File;
import com.openeggbert.pixel.framework.graphics.Texture;
import com.openeggbert.pixel.framework.graphics.TextureFactory;
/**
*
@ -41,7 +41,7 @@ public class LibGdxTextureFactory implements TextureFactory{
}
@Override
public Texture create(com.pixelgamelibrary.api.graphics.Pixmap pixmap) {
public Texture create(com.openeggbert.pixel.framework.graphics.Pixmap pixmap) {
throw new UnsupportedOperationException("Not supported yet."); // Generated from nbfs://nbhost/SystemFileSystem/Templates/Classes/Code/GeneratedMethodBody
}

View File

@ -17,7 +17,7 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.badlogic.gdx.Application;
import static com.badlogic.gdx.Application.ApplicationType.Android;
@ -25,14 +25,14 @@ import static com.badlogic.gdx.Application.ApplicationType.Desktop;
import static com.badlogic.gdx.Application.ApplicationType.WebGL;
import static com.badlogic.gdx.Application.ApplicationType.iOS;
import com.badlogic.gdx.Gdx;
import com.pixelgamelibrary.api.PixelException;
import com.pixelgamelibrary.api.Platform;
import com.pixelgamelibrary.api.interfaces.App;
import com.pixelgamelibrary.api.game.Game;
import com.pixelgamelibrary.api.PixelFeature;
import com.pixelgamelibrary.api.app.ClipBoard;
import com.pixelgamelibrary.api.app.LogLevel;
import com.pixelgamelibrary.api.app.Preferences;
import com.openeggbert.pixel.framework.PixelException;
import com.openeggbert.pixel.framework.Platform;
import com.openeggbert.pixel.framework.interfaces.App;
import com.openeggbert.pixel.framework.game.Game;
import com.openeggbert.pixel.framework.PixelFeature;
import com.openeggbert.pixel.framework.app.ClipBoard;
import com.openeggbert.pixel.framework.app.LogLevel;
import com.openeggbert.pixel.framework.app.Preferences;
/**
*

View File

@ -17,12 +17,12 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.pixelgamelibrary.api.audio.Music;
import com.pixelgamelibrary.api.audio.Sound;
import com.pixelgamelibrary.api.interfaces.Audio;
import com.pixelgamelibrary.api.files.File;
import com.openeggbert.pixel.framework.audio.Music;
import com.openeggbert.pixel.framework.audio.Sound;
import com.openeggbert.pixel.framework.interfaces.Audio;
import com.openeggbert.pixel.framework.files.File;
/**
*

View File

@ -17,10 +17,10 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.badlogic.gdx.utils.XmlReader;
import com.pixelgamelibrary.api.interfaces.XmlElement;
import com.openeggbert.pixel.framework.interfaces.XmlElement;
/**
*

View File

@ -17,12 +17,12 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.pixelgamelibrary.backend.libgdx.files.FileSystemFactory;
import com.pixelgamelibrary.api.interfaces.Files;
import com.pixelgamelibrary.backend.libgdx.files.AssetsLibGDXFileSystem;
import com.pixelgamelibrary.api.files.FileSystem;
import com.openeggbert.pixel.backend.libgdx.files.FileSystemFactory;
import com.openeggbert.pixel.framework.interfaces.Files;
import com.openeggbert.pixel.backend.libgdx.files.AssetsLibGDXFileSystem;
import com.openeggbert.pixel.framework.files.FileSystem;
/**
*

View File

@ -17,21 +17,21 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Graphics;
import com.pixelgamelibrary.api.PixelException;
import com.pixelgamelibrary.api.graphics.BitmapFontFactory;
import com.pixelgamelibrary.api.graphics.Cursor;
import com.pixelgamelibrary.api.graphics.Monitor;
import com.pixelgamelibrary.api.graphics.Pixmap;
import com.pixelgamelibrary.api.graphics.SpriteBatchFactory;
import com.pixelgamelibrary.api.graphics.TextureFactory;
import com.pixelgamelibrary.backend.libgdx.graphics.LibGdxBitmapFontFactory;
import com.pixelgamelibrary.backend.libgdx.graphics.LibGdxMonitor;
import com.pixelgamelibrary.backend.libgdx.graphics.LibGdxSpriteBatchFactory;
import com.pixelgamelibrary.backend.libgdx.graphics.LibGdxTextureFactory;
import com.openeggbert.pixel.framework.PixelException;
import com.openeggbert.pixel.framework.graphics.BitmapFontFactory;
import com.openeggbert.pixel.framework.graphics.Cursor;
import com.openeggbert.pixel.framework.graphics.Monitor;
import com.openeggbert.pixel.framework.graphics.Pixmap;
import com.openeggbert.pixel.framework.graphics.SpriteBatchFactory;
import com.openeggbert.pixel.framework.graphics.TextureFactory;
import com.openeggbert.pixel.backend.libgdx.graphics.LibGdxBitmapFontFactory;
import com.openeggbert.pixel.backend.libgdx.graphics.LibGdxMonitor;
import com.openeggbert.pixel.backend.libgdx.graphics.LibGdxSpriteBatchFactory;
import com.openeggbert.pixel.backend.libgdx.graphics.LibGdxTextureFactory;
import java.util.ArrayList;
import java.util.List;
@ -39,7 +39,7 @@ import java.util.List;
*
* @author robertvokac
*/
public class GraphicsLibGDXImpl implements com.pixelgamelibrary.api.interfaces.Graphics {
public class GraphicsLibGDXImpl implements com.openeggbert.pixel.framework.interfaces.Graphics {
@Override
public List<Monitor> getMonitors() {

View File

@ -17,18 +17,18 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.pixelgamelibrary.api.input.DeviceOrientation;
import com.pixelgamelibrary.api.input.InputProcessor;
import com.pixelgamelibrary.api.input.KeyboardKey;
import com.pixelgamelibrary.api.input.MouseButton;
import com.pixelgamelibrary.api.input.OnScreenKeyboardType;
import com.pixelgamelibrary.api.input.Peripheral;
import com.pixelgamelibrary.api.input.VibrationType;
import com.pixelgamelibrary.api.interfaces.Input;
import com.pixelgamelibrary.api.math.Vector2;
import com.pixelgamelibrary.api.math.Vector3;
import com.openeggbert.pixel.framework.input.DeviceOrientation;
import com.openeggbert.pixel.framework.input.InputProcessor;
import com.openeggbert.pixel.framework.input.KeyboardKey;
import com.openeggbert.pixel.framework.input.MouseButton;
import com.openeggbert.pixel.framework.input.OnScreenKeyboardType;
import com.openeggbert.pixel.framework.input.Peripheral;
import com.openeggbert.pixel.framework.input.VibrationType;
import com.openeggbert.pixel.framework.interfaces.Input;
import com.openeggbert.pixel.framework.math.Vector2;
import com.openeggbert.pixel.framework.math.Vector3;
/**
*

View File

@ -17,9 +17,9 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.pixelgamelibrary.api.interfaces.Internal;
import com.openeggbert.pixel.framework.interfaces.Internal;
/**
*

View File

@ -17,15 +17,15 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.pixelgamelibrary.api.interfaces.Net;
import com.pixelgamelibrary.api.net.http.HttpRequest;
import com.pixelgamelibrary.api.net.http.HttpResponseListener;
import com.pixelgamelibrary.api.net.sockets.ClientSocket;
import com.pixelgamelibrary.api.net.sockets.ClientSocketHints;
import com.pixelgamelibrary.api.net.sockets.ServerSocket;
import com.pixelgamelibrary.api.net.sockets.ServerSocketHints;
import com.openeggbert.pixel.framework.interfaces.Net;
import com.openeggbert.pixel.framework.net.http.HttpRequest;
import com.openeggbert.pixel.framework.net.http.HttpResponseListener;
import com.openeggbert.pixel.framework.net.sockets.ClientSocket;
import com.openeggbert.pixel.framework.net.sockets.ClientSocketHints;
import com.openeggbert.pixel.framework.net.sockets.ServerSocket;
import com.openeggbert.pixel.framework.net.sockets.ServerSocketHints;
/**
*

View File

@ -17,17 +17,17 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.pixelgamelibrary.api.interfaces.PixelBackend;
import com.pixelgamelibrary.api.interfaces.Files;
import com.pixelgamelibrary.api.interfaces.Audio;
import com.pixelgamelibrary.api.interfaces.Graphics;
import com.pixelgamelibrary.api.interfaces.Input;
import com.pixelgamelibrary.api.interfaces.Internal;
import com.pixelgamelibrary.api.interfaces.Net;
import com.pixelgamelibrary.api.interfaces.Utils;
import com.pixelgamelibrary.api.interfaces.App;
import com.openeggbert.pixel.framework.interfaces.PixelBackend;
import com.openeggbert.pixel.framework.interfaces.Files;
import com.openeggbert.pixel.framework.interfaces.Audio;
import com.openeggbert.pixel.framework.interfaces.Graphics;
import com.openeggbert.pixel.framework.interfaces.Input;
import com.openeggbert.pixel.framework.interfaces.Internal;
import com.openeggbert.pixel.framework.interfaces.Net;
import com.openeggbert.pixel.framework.interfaces.Utils;
import com.openeggbert.pixel.framework.interfaces.App;
/**
*

View File

@ -17,23 +17,23 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.interfaces;
package com.openeggbert.pixel.backend.libgdx.interfaces;
import com.badlogic.gdx.utils.Base64Coder;
import com.badlogic.gdx.utils.XmlReader;
import com.pixelgamelibrary.api.interfaces.XmlElement;
import com.openeggbert.pixel.framework.interfaces.XmlElement;
import java.util.List;
import java.util.Map;
import com.badlogic.gdx.utils.compression.Lzma;
import com.pixelgamelibrary.api.PixelException;
import com.openeggbert.pixel.framework.PixelException;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import com.pixelgamelibrary.api.interfaces.Utils;
import com.pixelgamelibrary.api.interfaces.App;
import com.pixelgamelibrary.api.utils.CollectionUtils;
import com.pixelgamelibrary.api.utils.ReflectionUtils;
import com.pixelgamelibrary.backend.libgdx.utils.collections.LibGdxCollectionUtilsImpl;
import com.openeggbert.pixel.framework.interfaces.Utils;
import com.openeggbert.pixel.framework.interfaces.App;
import com.openeggbert.pixel.framework.utils.CollectionUtils;
import com.openeggbert.pixel.framework.utils.ReflectionUtils;
import com.openeggbert.pixel.backend.libgdx.utils.collections.LibGdxCollectionUtilsImpl;
/**
*

View File

@ -17,11 +17,11 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.screen;
package com.openeggbert.pixel.backend.libgdx.screen;
import com.pixelgamelibrary.api.screen.ScreenWrapper;
import com.openeggbert.pixel.framework.screen.ScreenWrapper;
import lombok.Getter;
import com.pixelgamelibrary.api.screen.Screen;
import com.openeggbert.pixel.framework.screen.Screen;
/**
*

View File

@ -17,14 +17,14 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.utils;
package com.openeggbert.pixel.backend.libgdx.utils;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.pixelgamelibrary.api.Pixel;
import com.pixelgamelibrary.api.files.File;
import com.pixelgamelibrary.api.files.FileException;
import com.pixelgamelibrary.api.files.FileSystemType;
import com.openeggbert.pixel.framework.Pixel;
import com.openeggbert.pixel.framework.files.File;
import com.openeggbert.pixel.framework.files.FileException;
import com.openeggbert.pixel.framework.files.FileSystemType;
/**
*
@ -61,10 +61,10 @@ public class LibGdxBackendUtils {
}
}
public static com.badlogic.gdx.graphics.Color convertToLibGdxColor(com.pixelgamelibrary.api.graphics.Color color) {
public static com.badlogic.gdx.graphics.Color convertToLibGdxColor(com.openeggbert.pixel.framework.graphics.Color color) {
return new com.badlogic.gdx.graphics.Color(color.getRed(), color.getGreen(), color.getBlue(), color.getAlpha());
}
public static com.pixelgamelibrary.api.graphics.Color convertToPixelColor(com.badlogic.gdx.graphics.Color color) {
return new com.pixelgamelibrary.api.graphics.Color(color.r, color.g, color.b, color.a);
public static com.openeggbert.pixel.framework.graphics.Color convertToPixelColor(com.badlogic.gdx.graphics.Color color) {
return new com.openeggbert.pixel.framework.graphics.Color(color.r, color.g, color.b, color.a);
}
}

View File

@ -17,12 +17,12 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.utils.collections;
package com.openeggbert.pixel.backend.libgdx.utils.collections;
import com.pixelgamelibrary.api.utils.CollectionUtils;
import com.pixelgamelibrary.api.utils.collections.List;
import com.pixelgamelibrary.api.utils.collections.Map;
import com.pixelgamelibrary.api.utils.collections.Set;
import com.openeggbert.pixel.framework.utils.CollectionUtils;
import com.openeggbert.pixel.framework.utils.collections.List;
import com.openeggbert.pixel.framework.utils.collections.Map;
import com.openeggbert.pixel.framework.utils.collections.Set;
/**
*

View File

@ -17,11 +17,11 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.utils.collections;
package com.openeggbert.pixel.backend.libgdx.utils.collections;
import com.badlogic.gdx.utils.Array;
import com.pixelgamelibrary.api.utils.collections.List;
import com.pixelgamelibrary.api.utils.collections.PixelCollection;
import com.openeggbert.pixel.framework.utils.collections.List;
import com.openeggbert.pixel.framework.utils.collections.PixelCollection;
import java.util.Collection;
import java.util.Iterator;
import java.util.ListIterator;

View File

@ -17,12 +17,12 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.utils.collections;
package com.openeggbert.pixel.backend.libgdx.utils.collections;
import com.badlogic.gdx.utils.ObjectMap;
import com.pixelgamelibrary.api.utils.collections.EntryImpl;
import com.pixelgamelibrary.api.utils.collections.List;
import com.pixelgamelibrary.api.utils.collections.Map;
import com.openeggbert.pixel.framework.utils.collections.EntryImpl;
import com.openeggbert.pixel.framework.utils.collections.List;
import com.openeggbert.pixel.framework.utils.collections.Map;
import java.util.Collection;
import java.util.Set;

View File

@ -17,11 +17,11 @@
// <https://www.gnu.org/licenses/> or write to the Free Software
// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
///////////////////////////////////////////////////////////////////////////////////////////////
package com.pixelgamelibrary.backend.libgdx.utils.collections;
package com.openeggbert.pixel.backend.libgdx.utils.collections;
import com.badlogic.gdx.utils.ObjectSet;
import com.pixelgamelibrary.api.utils.collections.PixelCollection;
import com.pixelgamelibrary.api.utils.collections.Set;
import com.openeggbert.pixel.framework.utils.collections.PixelCollection;
import com.openeggbert.pixel.framework.utils.collections.Set;
import java.util.Collection;
import java.util.Iterator;

View File

@ -1,12 +1,12 @@
package com.pixelgamelibrary.backend.libgdx.files;
package com.openeggbert.pixel.backend.libgdx.files;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.files.FileHandle;
import com.pixelgamelibrary.api.Pixel;
import com.pixelgamelibrary.api.Platform;
import com.pixelgamelibrary.api.interfaces.PixelBackend;
import com.pixelgamelibrary.api.files.RegularFileType;
import com.pixelgamelibrary.api.files.FileException;
import com.openeggbert.pixel.framework.Pixel;
import com.openeggbert.pixel.framework.Platform;
import com.openeggbert.pixel.framework.interfaces.PixelBackend;
import com.openeggbert.pixel.framework.files.RegularFileType;
import com.openeggbert.pixel.framework.files.FileException;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.mockito.Mockito;
@ -18,19 +18,19 @@ import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Disabled;
import static org.mockito.Mockito.*;
import com.pixelgamelibrary.api.interfaces.Files;
import com.pixelgamelibrary.api.interfaces.Audio;
import com.pixelgamelibrary.api.interfaces.Graphics;
import com.pixelgamelibrary.api.interfaces.Input;
import com.pixelgamelibrary.api.interfaces.Internal;
import com.pixelgamelibrary.api.interfaces.Net;
import com.pixelgamelibrary.api.interfaces.Utils;
import com.pixelgamelibrary.api.interfaces.App;
import com.pixelgamelibrary.api.game.Game;
import com.pixelgamelibrary.api.PixelFeature;
import com.pixelgamelibrary.api.app.ClipBoard;
import com.pixelgamelibrary.api.app.LogLevel;
import com.pixelgamelibrary.api.app.Preferences;
import com.openeggbert.pixel.framework.interfaces.Files;
import com.openeggbert.pixel.framework.interfaces.Audio;
import com.openeggbert.pixel.framework.interfaces.Graphics;
import com.openeggbert.pixel.framework.interfaces.Input;
import com.openeggbert.pixel.framework.interfaces.Internal;
import com.openeggbert.pixel.framework.interfaces.Net;
import com.openeggbert.pixel.framework.interfaces.Utils;
import com.openeggbert.pixel.framework.interfaces.App;
import com.openeggbert.pixel.framework.game.Game;
import com.openeggbert.pixel.framework.PixelFeature;
import com.openeggbert.pixel.framework.app.ClipBoard;
import com.openeggbert.pixel.framework.app.LogLevel;
import com.openeggbert.pixel.framework.app.Preferences;
class DesktopAndroidFileSystemTest {