Quellcode durchsuchen

updated info source file to current source condition

master
myitinos vor 5 Jahren
Ursprung
Commit
e7b8e12c85
2 geänderte Dateien mit 0 neuen und 12 gelöschten Zeilen
  1. +0
    -10
      src/interface/info.cpp
  2. +0
    -2
      src/interface/info.hpp

+ 0
- 10
src/interface/info.cpp Datei anzeigen

@ -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 Datei anzeigen

@ -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();
};

Laden…
Abbrechen
Speichern