A 2D tile-based sandbox game.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Game.h 323B

1234567891011121314151617181920212223242526
  1. #pragma once
  2. #include <vector>
  3. #include <map>
  4. #include <string>
  5. #include "common.h"
  6. #include "World.h"
  7. #include "Mod.h"
  8. namespace Swan {
  9. class Game {
  10. public:
  11. std::vector<Mod> registered_mods_;
  12. World *world_;
  13. void loadMod(const std::string &path);
  14. void draw(Win &win);
  15. void update(float dt);
  16. void tick();
  17. };
  18. }