Set default transparency

Co-authored-by: r3cp3ct <45179536+r3cp3ct@users.noreply.github.com>
Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
main
sigonasr2, Sig, Sigo 2 years ago committed by GitHub
parent 5cd9d4fde7
commit 6f0a423e21
  1. BIN
      bin/RabiClone.jar
  2. 2
      src/sig/engine/objects/Object.java
  3. 1
      src/sig/objects/LevelRenderer.java

Binary file not shown.

@ -18,7 +18,7 @@ import sig.engine.Transform;
public abstract class Object implements GameEntity{ public abstract class Object implements GameEntity{
double x,y; double x,y;
Alpha transparency; Alpha transparency = Alpha.ALPHA0;
Sprite spr; Sprite spr;
Panel panel; Panel panel;
protected Rectangle collisionBox; protected Rectangle collisionBox;

@ -7,7 +7,6 @@ import sig.engine.Action;
import sig.engine.Alpha; import sig.engine.Alpha;
import sig.engine.Font; import sig.engine.Font;
import sig.engine.Key; import sig.engine.Key;
import sig.engine.MouseScrollValue;
import sig.engine.PaletteColor; import sig.engine.PaletteColor;
import sig.engine.Panel; import sig.engine.Panel;
import sig.engine.Sprite; import sig.engine.Sprite;

Loading…
Cancel
Save