소스 검색

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

불러오는 중...
취소
저장