#include "MenuTextDown_Player2Joystick.h"

InputSetting_Joystick* MenuTextDown_Player2Joystick::GetInputSetting()
{
	return gameFunc->GetInputSetting_Player2Joystick ? gameFunc->GetInputSetting_Player2Joystick() : nullptr;
}

SDL_GameControllerButtonBind* MenuTextDown_Player2Joystick::GetBind(InputSetting_Joystick* setting)
{
	return &setting->op_down;
}

std::weak_ptr<Entity> MenuTextDown_Player2Joystick::GetPlayer(void* entityRes)
{
	return gameFunc->GetMyChar_Player2(entityRes);
}


std::shared_ptr<Entity> CreateMenuTextDown_Player2Joystick()
{
	return std::make_shared<MenuTextDown_Player2Joystick>();
}

