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.

test.cpp 306B

123456789101112
  1. #include <iostream>
  2. #include "lib/Game.hpp"
  3. #include "lib/Character.hpp"
  4. int main(int argc, char const *argv[])
  5. {
  6. Game::init();
  7. Character player = Character("Myitinos", &Game::Elements["Fire"]);
  8. std::cout << Game::SpellBook[player.getAffinity()].at(0).getName() << std::endl;
  9. return 0;
  10. }