13
0

EasterEggHunt #27

Zusammengeführt
YoyoNow hat 19 Commits von EasterEggHunt nach master 2023-04-06 22:51:18 +02:00 zusammengeführt
Nur Änderungen aus Commit 7c49b93abf werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -27,15 +27,28 @@ public interface WingDesign {
return vectors.toArray(new Vector[0]); return vectors.toArray(new Vector[0]);
} }
class WingDesignImpl implements WingDesign {
private final Vector[] vectors;
public WingDesignImpl(Vector[] vectors) {
this.vectors = vectors;
}
@Override
public Vector[] getVectors() {
return vectors;
}
}
Vector[] getVectors(); Vector[] getVectors();
WingDesign SIMPLE = () -> create("/de/steamwar/lobby/particle/decorator/WingSimple4.png"); WingDesign SIMPLE = new WingDesignImpl(create("/de/steamwar/lobby/particle/decorator/WingSimple4.png"));
WingDesign COMPLEX = () -> create("/de/steamwar/lobby/particle/decorator/WingSimple2.png"); WingDesign COMPLEX = new WingDesignImpl(create("/de/steamwar/lobby/particle/decorator/WingSimple2.png"));
WingDesign SWORD = () -> create("/de/steamwar/lobby/particle/decorator/WingSword.png"); WingDesign SWORD = new WingDesignImpl(create("/de/steamwar/lobby/particle/decorator/WingSword.png"));
WingDesign SW = () -> create("/de/steamwar/lobby/particle/decorator/WingSW.png"); WingDesign SW = new WingDesignImpl(create("/de/steamwar/lobby/particle/decorator/WingSW.png"));
WingDesign WGS = () -> create("/de/steamwar/lobby/particle/decorator/WingWGS.png"); WingDesign WGS = new WingDesignImpl(create("/de/steamwar/lobby/particle/decorator/WingWGS.png"));
WingDesign SWORD_CROSSED = () -> create("/de/steamwar/lobby/particle/decorator/WingSwordCrossed.png"); WingDesign SWORD_CROSSED = new WingDesignImpl(create("/de/steamwar/lobby/particle/decorator/WingSwordCrossed.png"));
WingDesign MWGL = () -> create("/de/steamwar/lobby/particle/decorator/MWGL.png"); WingDesign MWGL = new WingDesignImpl(create("/de/steamwar/lobby/particle/decorator/MWGL.png"));
WingDesign ECLIPSE = () -> create("/de/steamwar/lobby/particle/decorator/ECLIPSE-Logo.png"); WingDesign ECLIPSE = new WingDesignImpl(create("/de/steamwar/lobby/particle/decorator/ECLIPSE-Logo.png"));
} }