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.

Item.cc 270B

12345678910111213141516
  1. #include "Item.h"
  2. #include "Resource.h"
  3. #include "Game.h"
  4. #include "common.h"
  5. namespace Swan {
  6. std::unique_ptr<Item> Item::createInvalid(Context &ctx) {
  7. return std::make_unique<Item>(ctx.resources, Builder{
  8. .name = "@::invalid",
  9. .image = "@::invalid",
  10. });
  11. }
  12. }