mirror of
https://github.com/mod-playerbots/mod-playerbots.git
synced 2026-01-23 05:26:22 +00:00
Run clang-format
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
/*
|
||||
* 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.
|
||||
* 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_STAYACTIONS_H
|
||||
@@ -11,29 +12,29 @@ class PlayerbotAI;
|
||||
|
||||
class StayActionBase : public MovementAction
|
||||
{
|
||||
public:
|
||||
StayActionBase(PlayerbotAI* botAI, std::string const name) : MovementAction(botAI, name) { }
|
||||
public:
|
||||
StayActionBase(PlayerbotAI* botAI, std::string const name) : MovementAction(botAI, name) {}
|
||||
|
||||
protected:
|
||||
bool Stay();
|
||||
protected:
|
||||
bool Stay();
|
||||
};
|
||||
|
||||
class StayAction : public StayActionBase
|
||||
{
|
||||
public:
|
||||
StayAction(PlayerbotAI* botAI) : StayActionBase(botAI, "stay") { }
|
||||
public:
|
||||
StayAction(PlayerbotAI* botAI) : StayActionBase(botAI, "stay") {}
|
||||
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
};
|
||||
|
||||
class SitAction : public StayActionBase
|
||||
{
|
||||
public:
|
||||
SitAction(PlayerbotAI* botAI) : StayActionBase(botAI, "sit") { }
|
||||
public:
|
||||
SitAction(PlayerbotAI* botAI) : StayActionBase(botAI, "sit") {}
|
||||
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
bool Execute(Event event) override;
|
||||
bool isUseful() override;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user