Files
mod-playerbots/src/strategy/values/IsMovingValue.h
2022-03-12 22:27:09 +01:00

30 lines
844 B
C++

/*
* Copyright (C) 2016+ AzerothCore <www.azerothcore.org>, released under GNU GPL v2 license, you may redistribute it and/or modify it under version 2 of the License, or (at your option), any later version.
*/
#ifndef _PLAYERBOT_ISMOVINGVALUE_H
#define _PLAYERBOT_ISMOVINGVALUE_H
#include "NamedObjectContext.h"
#include "Value.h"
class PlayerbotAI;
class IsMovingValue : public BoolCalculatedValue, public Qualified
{
public:
IsMovingValue(PlayerbotAI* botAI, std::string const name = "is moving") : BoolCalculatedValue(botAI, name) { }
bool Calculate() override;
};
class IsSwimmingValue : public BoolCalculatedValue, public Qualified
{
public:
IsSwimmingValue(PlayerbotAI* botAI, std::string const name = "is swimming") : BoolCalculatedValue(botAI, name) { }
bool Calculate() override;
};
#endif