浏览代码

updated info source file to current source condition

master
myitinos 5 年前
父节点
当前提交
e7b8e12c85
共有 2 个文件被更改,包括 0 次插入12 次删除
  1. +0
    -10
      src/interface/info.cpp
  2. +0
    -2
      src/interface/info.hpp

+ 0
- 10
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"

+ 0
- 2
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();
};

正在加载...
取消
保存