Rename project & packages

This commit is contained in:
Yohann D'ANELLO 2020-02-25 00:07:30 +01:00
parent 88821ab2b5
commit 15bea5fde0
35 changed files with 173 additions and 168 deletions

View File

@ -1,2 +1,3 @@
# Alice Game Engine # Level Editor
_by galaxyoyo_
_by ÿnérant_

View File

@ -1,6 +1,6 @@
package galaxyoyo.alice.gameengine.api.editor; package fr.ynerant.leveleditor.api.editor;
import galaxyoyo.alice.gameengine.api.editor.sprites.Sprite; import fr.ynerant.leveleditor.api.editor.sprites.Sprite;
public class Case public class Case
{ {

View File

@ -1,4 +1,4 @@
package galaxyoyo.alice.gameengine.api.editor; package fr.ynerant.leveleditor.api.editor;
public enum Collision public enum Collision
{ {

View File

@ -1,6 +1,6 @@
package galaxyoyo.alice.gameengine.api.editor; package fr.ynerant.leveleditor.api.editor;
import galaxyoyo.alice.gameengine.editor.Map; import fr.ynerant.leveleditor.editor.Map;
import java.awt.Color; import java.awt.Color;
import java.awt.Graphics2D; import java.awt.Graphics2D;

View File

@ -1,4 +1,4 @@
package galaxyoyo.alice.gameengine.api.editor; package fr.ynerant.leveleditor.api.editor;
public class RawCase public class RawCase
{ {

View File

@ -1,6 +1,6 @@
package galaxyoyo.alice.gameengine.api.editor; package fr.ynerant.leveleditor.api.editor;
import galaxyoyo.alice.gameengine.editor.Map; import fr.ynerant.leveleditor.editor.Map;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -1,6 +1,6 @@
package galaxyoyo.alice.gameengine.api.editor; package fr.ynerant.leveleditor.api.editor;
import galaxyoyo.alice.gameengine.api.editor.sprites.Sprite; import fr.ynerant.leveleditor.api.editor.sprites.Sprite;
public class RawSprite public class RawSprite
{ {

View File

@ -0,0 +1,4 @@
/**
* @author galaxyoyo
*/
package fr.ynerant.leveleditor.api.editor;

View File

@ -1,4 +1,4 @@
package galaxyoyo.alice.gameengine.api.editor.sprites; package fr.ynerant.leveleditor.api.editor.sprites;
import java.util.List; import java.util.List;

View File

@ -1,4 +1,4 @@
package galaxyoyo.alice.gameengine.api.editor.sprites; package fr.ynerant.leveleditor.api.editor.sprites;
import java.awt.AlphaComposite; import java.awt.AlphaComposite;
import java.awt.Color; import java.awt.Color;

View File

@ -1,6 +1,6 @@
package galaxyoyo.alice.gameengine.api.editor.sprites; package fr.ynerant.leveleditor.api.editor.sprites;
import galaxyoyo.alice.gameengine.client.main.Main; import fr.ynerant.leveleditor.client.main.Main;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
import java.io.BufferedInputStream; import java.io.BufferedInputStream;

View File

@ -1,12 +1,12 @@
/** /**
* @author galaxyoyo * @author galaxyoyo
*/ */
package galaxyoyo.alice.gameengine.client.main; package fr.ynerant.leveleditor.client.main;
import galaxyoyo.alice.gameengine.api.editor.EditorAPI; import fr.ynerant.leveleditor.frame.MainFrame;
import galaxyoyo.alice.gameengine.api.editor.RawMap; import fr.ynerant.leveleditor.api.editor.EditorAPI;
import galaxyoyo.alice.gameengine.api.editor.sprites.SpriteRegister; import fr.ynerant.leveleditor.api.editor.RawMap;
import galaxyoyo.gameengine.frame.MainFrame; import fr.ynerant.leveleditor.api.editor.sprites.SpriteRegister;
import java.awt.Color; import java.awt.Color;
import java.awt.Desktop; import java.awt.Desktop;

View File

@ -4,4 +4,4 @@
/** /**
* @author galaxyoyo * @author galaxyoyo
*/ */
package galaxyoyo.alice.gameengine.client.main; package fr.ynerant.leveleditor.client.main;

View File

@ -1,7 +1,7 @@
package galaxyoyo.alice.gameengine.editor; package fr.ynerant.leveleditor.editor;
import galaxyoyo.alice.gameengine.api.editor.Case; import fr.ynerant.leveleditor.api.editor.Case;
import galaxyoyo.alice.gameengine.api.editor.Collision; import fr.ynerant.leveleditor.api.editor.Collision;
import java.awt.Color; import java.awt.Color;
import java.awt.Graphics; import java.awt.Graphics;

View File

@ -1,15 +1,15 @@
package galaxyoyo.alice.gameengine.editor; package fr.ynerant.leveleditor.editor;
import galaxyoyo.alice.gameengine.api.editor.EditorAPI; import fr.ynerant.leveleditor.api.editor.EditorAPI;
import galaxyoyo.alice.gameengine.api.editor.RawMap; import fr.ynerant.leveleditor.api.editor.RawMap;
import galaxyoyo.alice.gameengine.api.editor.sprites.Category; import fr.ynerant.leveleditor.api.editor.sprites.Category;
import galaxyoyo.alice.gameengine.api.editor.sprites.Sprite; import fr.ynerant.leveleditor.api.editor.sprites.Sprite;
import galaxyoyo.alice.gameengine.api.editor.sprites.SpriteRegister; import fr.ynerant.leveleditor.api.editor.sprites.SpriteRegister;
import galaxyoyo.gameengine.frame.listeners.CollidMapMouseListener; import fr.ynerant.leveleditor.frame.listeners.CollidMapMouseListener;
import galaxyoyo.gameengine.frame.listeners.CreateMapListener; import fr.ynerant.leveleditor.frame.listeners.CreateMapListener;
import galaxyoyo.gameengine.frame.listeners.MapMouseListener; import fr.ynerant.leveleditor.frame.listeners.MapMouseListener;
import galaxyoyo.gameengine.frame.listeners.OpenMapListener; import fr.ynerant.leveleditor.frame.listeners.OpenMapListener;
import galaxyoyo.gameengine.frame.listeners.SpriteMouseListener; import fr.ynerant.leveleditor.frame.listeners.SpriteMouseListener;
import java.awt.BorderLayout; import java.awt.BorderLayout;
import java.awt.Color; import java.awt.Color;
@ -160,9 +160,9 @@ public class EditorFrame extends JFrame implements ChangeListener, ActionListene
scroll2.getHorizontalScrollBar().setMaximum(0); scroll2.getHorizontalScrollBar().setMaximum(0);
scroll3.getHorizontalScrollBar().setMaximum(0); scroll3.getHorizontalScrollBar().setMaximum(0);
resources.addTab("", new ImageIcon(new File("assets/unknown/textures/layer 1.png").getAbsolutePath()), scroll1); resources.addTab("", new ImageIcon(new File("assets/leveleditor/textures/layer 1.png").getAbsolutePath()), scroll1);
resources.addTab("", new ImageIcon(new File("assets/unknown/textures/layer 2.png").getAbsolutePath()), scroll2); resources.addTab("", new ImageIcon(new File("assets/leveleditor/textures/layer 2.png").getAbsolutePath()), scroll2);
resources.addTab("", new ImageIcon(new File("assets/unknown/textures/layer 3.png").getAbsolutePath()), scroll3); resources.addTab("", new ImageIcon(new File("assets/leveleditor/textures/layer 3.png").getAbsolutePath()), scroll3);
resources.addChangeListener(this); resources.addChangeListener(this);
resources.setBackgroundAt(0, Color.white); resources.setBackgroundAt(0, Color.white);
resources.setBackgroundAt(1, Color.white); resources.setBackgroundAt(1, Color.white);

View File

@ -1,9 +1,9 @@
package galaxyoyo.alice.gameengine.editor; package fr.ynerant.leveleditor.editor;
import galaxyoyo.alice.gameengine.api.editor.Case; import fr.ynerant.leveleditor.api.editor.Case;
import galaxyoyo.alice.gameengine.api.editor.RawCase; import fr.ynerant.leveleditor.api.editor.RawCase;
import galaxyoyo.alice.gameengine.api.editor.RawMap; import fr.ynerant.leveleditor.api.editor.RawMap;
import galaxyoyo.alice.gameengine.api.editor.sprites.SpriteRegister; import fr.ynerant.leveleditor.api.editor.sprites.SpriteRegister;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -1,6 +1,6 @@
package galaxyoyo.alice.gameengine.editor; package fr.ynerant.leveleditor.editor;
import galaxyoyo.alice.gameengine.api.editor.Case; import fr.ynerant.leveleditor.api.editor.Case;
import java.awt.Graphics; import java.awt.Graphics;
import java.awt.image.BufferedImage; import java.awt.image.BufferedImage;

View File

@ -1,6 +1,6 @@
package galaxyoyo.alice.gameengine.editor; package fr.ynerant.leveleditor.editor;
import galaxyoyo.alice.gameengine.api.editor.sprites.Sprite; import fr.ynerant.leveleditor.api.editor.sprites.Sprite;
import java.awt.Color; import java.awt.Color;
import java.awt.Dimension; import java.awt.Dimension;

View File

@ -1,4 +1,4 @@
package galaxyoyo.alice.gameengine.editor; package fr.ynerant.leveleditor.editor;
import java.awt.*; import java.awt.*;
import javax.swing.JScrollPane; import javax.swing.JScrollPane;

View File

@ -1,11 +1,12 @@
/** /**
* @author galaxyoyo * @author galaxyoyo
*/ */
package galaxyoyo.gameengine.frame; package fr.ynerant.leveleditor.frame;
import galaxyoyo.gameengine.frame.listeners.ChangeLAFListener; import fr.ynerant.leveleditor.client.main.Main;
import galaxyoyo.gameengine.frame.listeners.CreateMapListener; import fr.ynerant.leveleditor.frame.listeners.ChangeLAFListener;
import galaxyoyo.gameengine.frame.listeners.OpenMapListener; import fr.ynerant.leveleditor.frame.listeners.CreateMapListener;
import fr.ynerant.leveleditor.frame.listeners.OpenMapListener;
import java.awt.Dimension; import java.awt.Dimension;
import java.awt.event.KeyEvent; import java.awt.event.KeyEvent;
@ -25,7 +26,7 @@ import org.apache.logging.log4j.core.Logger;
public class MainFrame extends JFrame public class MainFrame extends JFrame
{ {
/** /**
* ID de sé * ID de série
* @see {@link JFrame} * @see {@link JFrame}
*/ */
private static final long serialVersionUID = -3168760121879418534L; private static final long serialVersionUID = -3168760121879418534L;
@ -56,7 +57,7 @@ public class MainFrame extends JFrame
/** /**
* Constructeur * Constructeur
* @see galaxyoyo.alice.gameengine.client.main.Main#launchFrame() * @see Main#launchFrame()
*/ */
private MainFrame() private MainFrame()
{ {

View File

@ -1,6 +1,6 @@
package galaxyoyo.gameengine.frame.listeners; package fr.ynerant.leveleditor.frame.listeners;
import galaxyoyo.gameengine.frame.MainFrame; import fr.ynerant.leveleditor.frame.MainFrame;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
import java.awt.event.ActionListener; import java.awt.event.ActionListener;

View File

@ -1,10 +1,10 @@
package galaxyoyo.gameengine.frame.listeners; package fr.ynerant.leveleditor.frame.listeners;
import galaxyoyo.alice.gameengine.api.editor.Case; import fr.ynerant.leveleditor.api.editor.Case;
import galaxyoyo.alice.gameengine.api.editor.Collision; import fr.ynerant.leveleditor.api.editor.Collision;
import galaxyoyo.alice.gameengine.editor.CollidPanel; import fr.ynerant.leveleditor.editor.CollidPanel;
import galaxyoyo.alice.gameengine.editor.EditorFrame; import fr.ynerant.leveleditor.editor.EditorFrame;
import galaxyoyo.alice.gameengine.editor.Map; import fr.ynerant.leveleditor.editor.Map;
import java.awt.event.MouseAdapter; import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;

View File

@ -1,10 +1,10 @@
/** /**
* @author galaxyoyo * @author galaxyoyo
*/ */
package galaxyoyo.gameengine.frame.listeners; package fr.ynerant.leveleditor.frame.listeners;
import galaxyoyo.alice.gameengine.client.main.Main; import fr.ynerant.leveleditor.client.main.Main;
import galaxyoyo.gameengine.frame.MainFrame; import fr.ynerant.leveleditor.frame.MainFrame;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
import java.awt.event.ActionListener; import java.awt.event.ActionListener;

View File

@ -1,9 +1,9 @@
package galaxyoyo.gameengine.frame.listeners; package fr.ynerant.leveleditor.frame.listeners;
import galaxyoyo.alice.gameengine.api.editor.Case; import fr.ynerant.leveleditor.api.editor.Case;
import galaxyoyo.alice.gameengine.editor.EditorFrame; import fr.ynerant.leveleditor.editor.EditorFrame;
import galaxyoyo.alice.gameengine.editor.Map; import fr.ynerant.leveleditor.editor.Map;
import galaxyoyo.alice.gameengine.editor.MapPanel; import fr.ynerant.leveleditor.editor.MapPanel;
import java.awt.event.MouseAdapter; import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;

View File

@ -1,7 +1,7 @@
package galaxyoyo.gameengine.frame.listeners; package fr.ynerant.leveleditor.frame.listeners;
import galaxyoyo.alice.gameengine.api.editor.EditorAPI; import fr.ynerant.leveleditor.api.editor.EditorAPI;
import galaxyoyo.gameengine.frame.MainFrame; import fr.ynerant.leveleditor.frame.MainFrame;
import java.awt.event.ActionEvent; import java.awt.event.ActionEvent;
import java.awt.event.ActionListener; import java.awt.event.ActionListener;

View File

@ -1,7 +1,7 @@
package galaxyoyo.gameengine.frame.listeners; package fr.ynerant.leveleditor.frame.listeners;
import galaxyoyo.alice.gameengine.editor.EditorFrame; import fr.ynerant.leveleditor.editor.EditorFrame;
import galaxyoyo.alice.gameengine.editor.SpriteComp; import fr.ynerant.leveleditor.editor.SpriteComp;
import java.awt.event.MouseAdapter; import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent; import java.awt.event.MouseEvent;

View File

@ -1,4 +0,0 @@
/**
* @author galaxyoyo
*/
package galaxyoyo.alice.gameengine.api.editor;

View File

@ -0,0 +1,3 @@
Manifest-Version: 1.0
Main-Class: fr.ynerant.leveleditor.client.main.Main

View File

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

View File

Before

Width:  |  Height:  |  Size: 2.6 KiB

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 187 B

After

Width:  |  Height:  |  Size: 187 B

View File

Before

Width:  |  Height:  |  Size: 18 KiB

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -1,4 +1,4 @@
package galaxyoyo.unknown; package fr.ynerant.leveleditor;
import junit.framework.Test; import junit.framework.Test;
import junit.framework.TestCase; import junit.framework.TestCase;