Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
Public Member Functions | List of all members
mouse_bindings Class Reference

The mouse bindings. More...

#include <mouse_bindings.h>

Public Member Functions

 mouse_bindings (const sf::Mouse::Button button_1=sf::Mouse::Button::Left, const sf::Mouse::Button button_2=sf::Mouse::Button::Right)
 
const sf::Mouse::Button & get_button_for_action (const action_number &n) const
 Get the button to do the selected action.
 

Detailed Description

The mouse bindings.

This class connects a mouse button to a mouse action:

Constructor & Destructor Documentation

◆ mouse_bindings()

mouse_bindings::mouse_bindings ( const sf::Mouse::Button  button_1 = sf::Mouse::Button::Left,
const sf::Mouse::Button  button_2 = sf::Mouse::Button::Right 
)

Member Function Documentation

◆ get_button_for_action()

const sf::Mouse::Button & mouse_bindings::get_button_for_action ( const action_number n) const

Get the button to do the selected action.


The documentation for this class was generated from the following files: