This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @Generated( | |
| value = "de.schosin.decs.codegen.DecsAnnotationProcessor", | |
| date = "2025-10-19T19:09:54.792634100Z" | |
| ) | |
| public final class ClassProcessingSystemImpl extends EntityProcessorBenchmark.ClassProcessingSystem implements SystemType { | |
| private final InternalWorld _world; | |
| private final Bag<Process> process; | |
| public ClassProcessingSystemImpl(InternalWorld world) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import java.util.ArrayList; | |
| import java.util.Arrays; | |
| import java.util.BitSet; | |
| import java.util.List; | |
| import java.util.Map; | |
| import java.util.concurrent.ConcurrentHashMap; | |
| import java.util.concurrent.atomic.AtomicInteger; | |
| public class TestApplication { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public abstract class PassiveIteratingSystem extends BaseEntitySystem { | |
| public PassiveIteratingSystem() { | |
| } | |
| public PassiveIteratingSystem(Builder aspect) { | |
| super(aspect); | |
| } | |
| @Override |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @All({ Position.class, Velocity.class }) | |
| public class MovementSystem extends IteratingSystem { | |
| // Component mappers | |
| private ComponentMapper<Position> posM; | |
| private ComponentMapper<Velocity> velocityM; | |
| @Override | |
| protected void process(int entityId) { | |
| var velocity = velocityM.get(entityId); |