CUGL 2.1
Cornell University Game Library
Public Member Functions | List of all members
cugl::KeyCodeHasher Struct Reference

#include <CUKeyboard.h>

Public Member Functions

std::size_t operator() (const KeyCode &k) const
 

Detailed Description

This function is a hash code function for keyboard key codes

Member Function Documentation

◆ operator()()

std::size_t cugl::KeyCodeHasher::operator() ( const KeyCode k) const
inline

The hashing operator

Parameters
kThe key code to hash

The documentation for this struct was generated from the following file: