Add project files.
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#include "cMenuDown.hpp"
|
||||
|
||||
/*** SDL Header Files ***/
|
||||
#include "SDL.h"
|
||||
|
||||
/*** Custom Header Files ***/
|
||||
#include "../cMainMenu.hpp"
|
||||
|
||||
using Input::cMenuDown;
|
||||
|
||||
cMenuDown::cMenuDown( SDL_Keycode key, MainMenu::cMainMenu** menu )
|
||||
: cKey(key), mpp_menu(menu)
|
||||
{}
|
||||
|
||||
/*cMenuDown::cMenuDown( const cMenuDown& copy )
|
||||
{}*/
|
||||
|
||||
cMenuDown::~cMenuDown()
|
||||
{}
|
||||
|
||||
///Funtions
|
||||
void cMenuDown::KeyPress()
|
||||
{
|
||||
}
|
||||
|
||||
void cMenuDown::KeyUP()
|
||||
{
|
||||
}
|
||||
|
||||
void cMenuDown::KeyDown()
|
||||
{
|
||||
if (mpp_menu != nullptr && *mpp_menu != nullptr)
|
||||
(*mpp_menu)->OptionDown();
|
||||
}
|
||||
Reference in New Issue
Block a user