Blamite Game Engine - blam!
00296.01.12.21.0102.blamite
The core library for the Blamite Game Engine.
MouseClickEvent.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "../BlamEvent.h"
4
5
#include <cstdint>
6
12
class
MouseClickEvent
:
public
BlamEvent
13
{
14
private
:
15
uint8_t button;
16
17
public
:
23
MouseClickEvent
(uint8_t _button);
24
30
uint8_t
GetButton
();
31
};
BlamEvent
Class representing a generic event.
Definition:
BlamEvent.h:20
MouseClickEvent::GetButton
uint8_t GetButton()
Retrieves the mouse button that was pressed.
Definition:
MouseClickEvent.cpp:8
MouseClickEvent::MouseClickEvent
MouseClickEvent(uint8_t _button)
Constructs a new event.
Definition:
MouseClickEvent.cpp:3
MouseClickEvent
Class representing a mouse button press.
Definition:
MouseClickEvent.h:12
blam
components
core
events
events
MouseClick
MouseClickEvent.h
Generated on Tue Jan 12 2021 01:11:27 for Blamite Game Engine - blam! by
1.8.17