#ifndef BUTTONDOWNEVENT_H
#define BUTTONDOWNEVENT_H

#include "ButtonEvent.h"

namespace Salamander
{

/*
** Button Down Events are created when a key is pressed on the keyboard, a mouse button clicked, or a controlpad used.
** All code functions are controlled by ButtonEvent, applications have the choice of capturing either ButtonEvent and 
** checking the ID for up/down, or capturing a ButtonDownEvent individually.
*/
class ButtonDownEvent : public ButtonEvent
{
public:
	/*
	** Destructor.
	*/
	virtual ~ButtonDownEvent();

	/*
	** Key events must be created with relevant controller data
	*/
	registerEvent(ButtonEvent);
	ButtonDownEvent(EventCode code);
};

}

#endif // BUTTONDOWNEVENT_H