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

The number of an action. More...

#include <action_number.h>

Public Member Functions

 action_number (const int number)
 
int get_number () const noexcept
 

Detailed Description

The number of an action.

As there are four actions (as there are 4 action buttons), an action_number can be 1, 2, 3 or 4.

Constructor & Destructor Documentation

◆ action_number()

action_number::action_number ( const int  number)
explicit

Member Function Documentation

◆ get_number()

int action_number::get_number ( ) const
inlinenoexcept

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