From e7b8e12c85685beef46f9a545f0b4756b5e0abc1 Mon Sep 17 00:00:00 2001 From: myitinos Date: Thu, 3 Jan 2019 23:50:39 +0800 Subject: [PATCH] updated info source file to current source condition --- src/interface/info.cpp | 10 ---------- src/interface/info.hpp | 2 -- 2 files changed, 12 deletions(-) diff --git a/src/interface/info.cpp b/src/interface/info.cpp index 07abaea..daf7678 100644 --- a/src/interface/info.cpp +++ b/src/interface/info.cpp @@ -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" diff --git a/src/interface/info.hpp b/src/interface/info.hpp index f1c5ad0..3872c72 100644 --- a/src/interface/info.hpp +++ b/src/interface/info.hpp @@ -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(); };