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.

Tile.h 195B

1234567891011121314151617
  1. #pragma once
  2. #include <stdint.h>
  3. #include <string>
  4. #include <SFML/Graphics/Image.hpp>
  5. namespace Swan {
  6. class Tile {
  7. public:
  8. using ID = uint16_t;
  9. std::string name_;
  10. sf::Image image_;
  11. };
  12. }