MCPcopy Create free account
hub / github.com/assaultcube/AC / key

Method key

source/src/menus.cpp:560–564  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

558 }
559
560 virtual void key(int code, bool isdown)
561 {
562 if(code == SDLK_LEFT) slide(false);
563 else if(code == SDLK_RIGHT) slide(true);
564 }
565
566 virtual void init()
567 {

Callers 2

keyMethod · 0.45
menukeyFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected