World.h 322 B

1234567891011121314151617181920
  1. #ifndef WORLD_H
  2. #define WORLD_H
  3. #include "common/Block.h"
  4. #include "common/entities/Entity.h"
  5. namespace World {
  6. bool init();
  7. void render();
  8. void addEntity(Entity* e);
  9. void removeEntity(Entity* e);
  10. void tick();
  11. int getHeight();
  12. void setBlock(int x, int y, int z, Block::Id block);
  13. }
  14. #endif