game.h 309 B

1234567891011121314151617
  1. #pragma once
  2. #include "engine/engine.h"
  3. #include <draw/world.h>
  4. void spawn_icon(Level *level, const Icon *icon, float x, float y, uint8_t width, uint8_t height);
  5. typedef struct
  6. {
  7. uint32_t score;
  8. } GameContext;
  9. typedef struct
  10. {
  11. const Icon *icon;
  12. uint8_t width;
  13. uint8_t height;
  14. } IconContext;