Browse Source

updated info source file to current source condition

master
myitinos 5 years ago
parent
commit
e7b8e12c85
2 changed files with 0 additions and 12 deletions
  1. +0
    -10
      src/interface/info.cpp
  2. +0
    -2
      src/interface/info.hpp

+ 0
- 10
src/interface/info.cpp View File

@ -20,16 +20,6 @@ void Info::ofPlayer(Player *player)
<< " Atk: " << player->getAtk() << "\n"
<< " Def: " << player->getDef() << std::endl;
}
void Info::ofMonster(Monster *monster)
{
std::cout << "Name: " << monster->getName() << "\n"
<< " HP : " << monster->getCurrentHP() << "/" << monster->getMaxHP() << "\n"
<< " Atk: " << monster->getAtk() << "\n"
<< " Def: " << monster->getDef() << "\n"
<< " Lvl: " << monster->getBounty() << std::endl;
}
void Info::ofApplication()
{
std::cout << "=================================\n"

+ 0
- 2
src/interface/info.hpp View File

@ -2,7 +2,6 @@
#define HACKTHEGAME_CHARACTER_INFO_HPP
#include "src/class/character.hpp"
#include "src/class/monster.hpp"
#include "src/class/player.hpp"
class Info
@ -13,7 +12,6 @@ class Info
public:
static void ofCharacter(Character *);
static void ofPlayer(Player *);
static void ofMonster(Monster *);
static void ofApplication();
};

Loading…
Cancel
Save