95 if (
gate.isInCurrentLocation()) {
111 LocationAPI cl =
gate.getContainingLocation();
112 Vector2f loc =
gate.getLocation();
113 Vector2f vel =
gate.getVelocity();
115 float size =
gate.getRadius() + 2000f;
116 Color color =
new Color(255, 165, 100);
117 color =
new Color(100, 255, 165);
118 color =
new Color(150, 255, 200);
119 color =
new Color(100, 200, 150, 255);
120 color =
new Color(255, 255, 100, 255);
121 color =
new Color(100, 255, 150, 255);
124 ExplosionParams params =
new ExplosionParams(color, cl, loc, size, 2f);
125 params.damage = ExplosionFleetDamage.HIGH;
127 explosion = cl.addCustomEntity(Misc.genUID(),
"Gate Explosion",
128 Entities.EXPLOSION, Factions.NEUTRAL, params);
137 StarSystemAPI system =
gate.getStarSystem();
138 if (system !=
null) {
139 for (SectorEntityToken jp : system.getJumpPoints()) {