This commit is contained in:
aozhiwei 2022-12-28 10:06:56 +08:00
parent e711cf7da6
commit 89ff479929
2 changed files with 5 additions and 1 deletions

View File

@ -3161,6 +3161,10 @@ void Creature::SetBattleContext(std::shared_ptr<BattleDataContext> c)
battle_context_ = c;
}
void Creature::ForwardMove(float distance)
{
}
bool Creature::HasSpecMove()
{

View File

@ -218,7 +218,7 @@ class Creature : public MoveableEntity
void DecInventory(int slot_id, int num);
std::array<Inventory, IS_END>& GetInventoryData() { return inventory_; };
virtual void UpdateMove() {};
virtual void ForwardMove(float distance) {};
virtual void ForwardMove(float distance);
bool HasSpecMove();
void _UpdateSpecMove();