parent
87d0c9d500
commit
cafcf78cd2
@ -1,4 +1,4 @@ |
||||
package mightypork.gamecore.util; |
||||
package mightypork.gamecore.backend.lwjgl; |
||||
|
||||
|
||||
import java.util.logging.Level; |
@ -1,4 +1,4 @@ |
||||
package mightypork.gamecore; |
||||
package mightypork.gamecore.core; |
||||
|
||||
|
||||
import java.io.File; |
@ -1,4 +1,4 @@ |
||||
package mightypork.gamecore.config; |
||||
package mightypork.gamecore.core.config; |
||||
|
||||
|
||||
import mightypork.gamecore.input.KeyStroke; |
@ -1,4 +1,4 @@ |
||||
package mightypork.gamecore.plugins; |
||||
package mightypork.gamecore.core.plugins; |
||||
|
||||
|
||||
import mightypork.gamecore.core.App; |
@ -1,9 +1,9 @@ |
||||
package mightypork.gamecore.plugins.screenshot; |
||||
package mightypork.gamecore.core.plugins.screenshot; |
||||
|
||||
|
||||
import mightypork.gamecore.core.App; |
||||
import mightypork.gamecore.core.events.MainLoopRequest; |
||||
import mightypork.gamecore.plugins.AppPlugin; |
||||
import mightypork.gamecore.core.plugins.AppPlugin; |
||||
import mightypork.utils.Support; |
||||
|
||||
|
@ -1,4 +1,4 @@ |
||||
package mightypork.gamecore.plugins.screenshot; |
||||
package mightypork.gamecore.core.plugins.screenshot; |
||||
|
||||
|
||||
import mightypork.utils.eventbus.BusEvent; |
@ -1,11 +1,11 @@ |
||||
package mightypork.gamecore.plugins.screenshot; |
||||
package mightypork.gamecore.core.plugins.screenshot; |
||||
|
||||
|
||||
import java.io.File; |
||||
import java.io.IOException; |
||||
|
||||
import mightypork.gamecore.WorkDir; |
||||
import mightypork.gamecore.core.App; |
||||
import mightypork.gamecore.core.WorkDir; |
||||
import mightypork.gamecore.render.Screenshot; |
||||
import mightypork.utils.Support; |
||||
import mightypork.utils.logging.Log; |
@ -1,12 +0,0 @@ |
||||
package mightypork.gamecore.gui; |
||||
|
||||
|
||||
/** |
||||
* Horizontal align sides |
||||
* |
||||
* @author Ondřej Hruška (MightyPork) |
||||
*/ |
||||
public enum AlignX |
||||
{ |
||||
LEFT, CENTER, RIGHT; |
||||
} |
@ -1,12 +0,0 @@ |
||||
package mightypork.gamecore.gui; |
||||
|
||||
|
||||
/** |
||||
* Vertical align sides |
||||
* |
||||
* @author Ondřej Hruška (MightyPork) |
||||
*/ |
||||
public enum AlignY |
||||
{ |
||||
TOP, CENTER, BOTTOM; |
||||
} |
@ -1,15 +0,0 @@ |
||||
package mightypork.gamecore.gui; |
||||
|
||||
|
||||
/** |
||||
* Element that can be hidden or visible |
||||
* |
||||
* @author Ondřej Hruška (MightyPork) |
||||
*/ |
||||
public interface Hideable { |
||||
|
||||
void setVisible(boolean yes); |
||||
|
||||
|
||||
boolean isVisible(); |
||||
} |
@ -1,4 +1,4 @@ |
||||
package mightypork.gamecore.render.events; |
||||
package mightypork.gamecore.gui.events; |
||||
|
||||
|
||||
import mightypork.utils.eventbus.BusEvent; |
@ -1,4 +1,4 @@ |
||||
package mightypork.gamecore.render.events; |
||||
package mightypork.gamecore.gui.events; |
||||
|
||||
|
||||
/** |
@ -1,7 +1,6 @@ |
||||
package mightypork.gamecore.render.events; |
||||
package mightypork.gamecore.render; |
||||
|
||||
|
||||
import mightypork.gamecore.render.GraphicsModule; |
||||
import mightypork.utils.eventbus.BusEvent; |
||||
import mightypork.utils.eventbus.events.flags.SingleReceiverEvent; |
||||
|
@ -1,31 +0,0 @@ |
||||
package mightypork.gamecore.render; |
||||
|
||||
|
||||
import mightypork.utils.math.color.Color; |
||||
|
||||
|
||||
/** |
||||
* Linear gradient (each corner can have different color) |
||||
* |
||||
* @author MightyPork |
||||
*/ |
||||
public class Grad { |
||||
|
||||
public final Color leftTop, rightTop, rightBottom, leftBottom; |
||||
|
||||
|
||||
/** |
||||
* Create a gradient |
||||
* |
||||
* @param leftTop left top color |
||||
* @param rightTop right top color |
||||
* @param rightBottom right bottom color |
||||
* @param leftBottom left bottom color |
||||
*/ |
||||
public Grad(Color leftTop, Color rightTop, Color rightBottom, Color leftBottom) { |
||||
this.leftTop = leftTop; |
||||
this.rightTop = rightTop; |
||||
this.rightBottom = rightBottom; |
||||
this.leftBottom = leftBottom; |
||||
} |
||||
} |
@ -1,17 +0,0 @@ |
||||
package mightypork.gamecore.render; |
||||
|
||||
|
||||
import mightypork.utils.math.color.Color; |
||||
|
||||
|
||||
/** |
||||
* Linear horizontal gradient |
||||
* |
||||
* @author MightyPork |
||||
*/ |
||||
public class GradH extends Grad { |
||||
|
||||
public GradH(Color left, Color right) { |
||||
super(left, right, right, left); |
||||
} |
||||
} |
@ -1,17 +0,0 @@ |
||||
package mightypork.gamecore.render; |
||||
|
||||
|
||||
import mightypork.utils.math.color.Color; |
||||
|
||||
|
||||
/** |
||||
* Linear vertical gradient |
||||
* |
||||
* @author MightyPork |
||||
*/ |
||||
public class GradV extends Grad { |
||||
|
||||
public GradV(Color top, Color bottom) { |
||||
super(top, top, bottom, bottom); |
||||
} |
||||
} |
Loading…
Reference in new issue