ProjectTextRPG/TextRPG/Source/Game/Characters/Monster/Goblin/Goblin.cpp

45 lines
728 B
C++

#include "pch.h"
#include "Goblin.h"
#include "GameInstance.h"
#include "Core/Subsystems/GameInputSystem.h"
#include "Data/Literals/Literals.h"
Goblin::~Goblin()
{
}
Goblin::Goblin()
{
MonsterData = MonsterStatData(
Game::Dungeon::Goblin::Name,
Game::Dungeon::Goblin::DropItemName,
Game::Dungeon::Goblin::HP,
Game::Dungeon::Goblin::Attack,
Game::Dungeon::Goblin::Defence,
Game::Dungeon::Goblin::DropItemPrice);
}
Goblin::Goblin(MonsterStatData&& Desc) :
Monster(std::move(Desc))
{
}
void Goblin::Attack(class Player* Target)
{
Monster::Attack(Target);
}
void Goblin::Initalize()
{
}
void Goblin::Release()
{
Monster::Release();
}
void Goblin::TakeDamage(int Amount)
{
Monster::TakeDamage(Amount);
}