Stand/Stand/CommandSpawnedObject.hpp
2024-10-16 11:20:42 +08:00

24 lines
455 B
C++

#pragma once
#include "CommandWithOnTickFocused.hpp"
#include "CommandList.hpp"
#include "natives_decl.hpp"
namespace Stand
{
class CommandSpawnedObject : public CommandWithOnTickFocused<CommandList>
{
public:
const Object handle;
explicit CommandSpawnedObject(CommandList* parent, const Label& menu_name, Object handle);
~CommandSpawnedObject() final;
[[nodiscard]] AbstractEntity getEntity() const;
void onTickFocused() final;
};
}