#ifndef CREATURELIB_RESOLVETARGET_HPP #define CREATURELIB_RESOLVETARGET_HPP #include "../../Library/Attacks/AttackTarget.hpp" #include "../Models/Battle.hpp" #include "../Models/Creature.hpp" #include "../Models/CreatureIndex.hpp" namespace CreatureLib::Battling { class TargetResolver { typedef ArbUt::List> TargetList; public: static TargetList ResolveTargets(const CreatureIndex& index, CreatureLib::Library::AttackTarget target, const ArbUt::BorrowedPtr& battle); static bool IsValidTarget(const CreatureIndex& index, CreatureLib::Library::AttackTarget target, const ArbUt::BorrowedPtr& user); }; } #endif // CREATURELIB_RESOLVETARGET_HPP