File DamageData.hpp
File List > DataCollection > DamageData.hpp
Go to the documentation of this file
#pragma once
#include <memory>
#include <utility>
#include "../core/Entity.hpp"
#include "../core/AgentBase.hpp"
namespace DataCollection {
class DamageData {
private:
std::shared_ptr<cse491::AgentBase> agent;
std::shared_ptr<cse491::Entity> source;
int amount;
public:
DamageData(std::shared_ptr<cse491::AgentBase> agnt,
std::shared_ptr<cse491::Entity> src,
int amt) : agent(std::move(agnt)), source(std::move(src)), amount(amt) {}
~DamageData() = default;
};
}