MCPcopy Create free account
hub / github.com/NetHack/NetHack / GetKey

Method GetKey

win/Qt/qt_key.cpp:79–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79int NetHackQtKeyBuffer::GetKey()
80{
81 if ( Empty() ) return 0;
82 int r=TopKey();
83 out=(out+1)%maxkey;
84 return r;
85}
86
87int NetHackQtKeyBuffer::GetAscii()
88{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected