namespace blank {
-class Controller;
class Entity;
-class GaloisLFSR;
class Model;
class ModelRegistry;
class World;
class Spawner {
public:
- Spawner(World &, ModelRegistry &, GaloisLFSR &);
+ Spawner(World &, ModelRegistry &);
~Spawner();
void LimitModels(std::size_t begin, std::size_t end);
private:
World &world;
ModelRegistry ⊧
- std::vector<Controller *> controllers;
+ std::vector<Entity *> entities;
- GaloisLFSR &random;
-
- IntervalTimer timer;
+ CoarseTimer timer;
float despawn_range;
float spawn_distance;
unsigned int max_entities;