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

A user input. More...

#include <user_input.h>

Public Member Functions

 user_input (const user_input_type type, const side player, const std::optional< game_coordinate > &coordinat={})
 
auto get_user_input_type () const noexcept
 
auto & get_coordinat () const noexcept
 
auto get_player () const noexcept
 

Detailed Description

A user input.

Constructor & Destructor Documentation

◆ user_input()

user_input::user_input ( const user_input_type  type,
const side  player,
const std::optional< game_coordinate > &  coordinat = {} 
)
explicit

Member Function Documentation

◆ get_coordinat()

auto & user_input::get_coordinat ( ) const
inlinenoexcept

◆ get_player()

auto user_input::get_player ( ) const
inlinenoexcept

◆ get_user_input_type()

auto user_input::get_user_input_type ( ) const
inlinenoexcept

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