forked from SteamWar/SteamWar
22 lines
522 B
Java
22 lines
522 B
Java
package de.steamwar.lobby.particle.elements;
|
|
|
|
import de.steamwar.lobby.particle.ParticleElement;
|
|
import de.steamwar.lobby.particle.ParticleTickData;
|
|
|
|
public class OnlyOthers extends DelegatingParticleElement {
|
|
|
|
public OnlyOthers(ParticleElement particleElement) {
|
|
super(particleElement);
|
|
}
|
|
|
|
@Override
|
|
public String attribute() {
|
|
return null;
|
|
}
|
|
|
|
@Override
|
|
public void tick(ParticleTickData particleTickData) {
|
|
particleElement.tick(particleTickData.onlyOthers());
|
|
}
|
|
}
|