World.java 590 B

123456789101112131415161718192021222324
  1. package eu.tankernn.game.server;
  2. import java.util.ArrayList;
  3. import java.util.List;
  4. import eu.tankernn.game.server.entities.player.ServerPlayer;
  5. import eu.tankernn.gameEngine.entities.Entity3D;
  6. import eu.tankernn.gameEngine.entities.Light;
  7. public class World {
  8. public final int seed;
  9. List<Light> lights;
  10. List<Entity3D> entities;
  11. List<ServerPlayer> players;
  12. public World(int seed, List<Light> lights, List<Entity3D> entities) {
  13. this.seed = seed;
  14. this.lights = lights;
  15. this.entities = entities;
  16. this.players = new ArrayList<ServerPlayer>();
  17. }
  18. }