refactoring, nicer structure but blank screen now. some bug in caching?
This commit is contained in:
@@ -11,7 +11,7 @@ import mightypork.gamecore.render.fonts.FontRenderer.Align;
|
||||
import mightypork.gamecore.render.fonts.GLFont;
|
||||
import mightypork.rogue.Res;
|
||||
import mightypork.utils.math.color.RGB;
|
||||
import mightypork.utils.math.constraints.rect.RectBound;
|
||||
import mightypork.utils.math.constraints.rect.proxy.RectBound;
|
||||
import mightypork.utils.math.constraints.vect.Vect;
|
||||
import mightypork.utils.string.StringProvider;
|
||||
|
||||
|
||||
@@ -9,9 +9,9 @@ import mightypork.gamecore.render.Render;
|
||||
import mightypork.utils.math.Easing;
|
||||
import mightypork.utils.math.color.RGB;
|
||||
import mightypork.utils.math.constraints.num.Num;
|
||||
import mightypork.utils.math.constraints.num.NumAnimated;
|
||||
import mightypork.utils.math.constraints.num.mutable.NumAnimated;
|
||||
import mightypork.utils.math.constraints.rect.Rect;
|
||||
import mightypork.utils.math.constraints.rect.RectCache;
|
||||
import mightypork.utils.math.constraints.rect.caching.RectCache;
|
||||
|
||||
|
||||
public class BouncyBox extends SimplePainter implements Updateable {
|
||||
@@ -64,7 +64,7 @@ public class BouncyBox extends SimplePainter implements Updateable {
|
||||
|
||||
|
||||
@Override
|
||||
public void onPoll()
|
||||
public void onChange()
|
||||
{
|
||||
box.poll();
|
||||
}
|
||||
|
||||
@@ -17,10 +17,10 @@ import mightypork.rogue.Res;
|
||||
import mightypork.utils.math.Easing;
|
||||
import mightypork.utils.math.color.RGB;
|
||||
import mightypork.utils.math.constraints.num.Num;
|
||||
import mightypork.utils.math.constraints.num.NumAnimated;
|
||||
import mightypork.utils.math.constraints.num.mutable.NumAnimated;
|
||||
import mightypork.utils.math.constraints.rect.Rect;
|
||||
import mightypork.utils.math.constraints.vect.Vect;
|
||||
import mightypork.utils.math.constraints.vect.VectAnimated;
|
||||
import mightypork.utils.math.constraints.vect.mutable.VectAnimated;
|
||||
|
||||
|
||||
public class LayerFlyingCat extends ScreenLayer implements Updateable, MouseButtonEvent.Listener {
|
||||
|
||||
@@ -5,7 +5,7 @@ import mightypork.gamecore.gui.screens.Screen;
|
||||
import mightypork.gamecore.gui.screens.ScreenLayer;
|
||||
import mightypork.gamecore.render.Render;
|
||||
import mightypork.utils.math.color.RGB;
|
||||
import mightypork.utils.math.constraints.rect.RectBound;
|
||||
import mightypork.utils.math.constraints.rect.proxy.RectBound;
|
||||
|
||||
|
||||
public class LayerTestGradient extends ScreenLayer {
|
||||
|
||||
Reference in New Issue
Block a user