Further cleanup of TargetResolver.
Signed-off-by: Deukhoofd <Deukhoofd@gmail.com>
This commit is contained in:
@@ -4,14 +4,14 @@
|
||||
#include "../Models/Battle.hpp"
|
||||
#include "../Models/Creature.hpp"
|
||||
#include "../Models/CreatureIndex.hpp"
|
||||
using namespace CreatureLib::Battling;
|
||||
|
||||
namespace CreatureLib::Battling {
|
||||
class TargetResolver {
|
||||
typedef ArbUt::List<ArbUt::OptionalBorrowedPtr<Creature>> TargetList;
|
||||
|
||||
public:
|
||||
static ArbUt::List<ArbUt::OptionalBorrowedPtr<Creature>>
|
||||
ResolveTargets(const CreatureIndex& index, CreatureLib::Library::AttackTarget target,
|
||||
const ArbUt::BorrowedPtr<Battle>& battle);
|
||||
static TargetList ResolveTargets(const CreatureIndex& index, CreatureLib::Library::AttackTarget target,
|
||||
const ArbUt::BorrowedPtr<Battle>& battle);
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user