Removed implementation classes

Leaves only the framework in the compiled clause.
Find the removed files in ../examples/misc/
This commit is contained in:
2021-06-08 14:47:10 +12:00
parent 7524a0096a
commit b1efb9802d
7 changed files with 0 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
package nz.ac.massey.javaecs;
public class LogVec2DSystem extends ECSSystem{
ECS gameEngine;
public LogVec2DSystem(ECS gameEngine){
this.gameEngine = gameEngine;
}
@Override
void init() {}
@Override
void update() {}
void update(double dt){
for (Integer entity : entities) {
Vec2D pos = (Vec2D)gameEngine.getComponentData(entity, Vec2D.class);
System.out.println(String.format("X: %.6g, Y: %.6g", pos.x, pos.y));
}
}
}