Regular Expressions 101

Community Patterns

Community Library Entry

0

Regular Expression
PCRE (PHP <7.3)

/
([+-]) (~?\w+)|\(.*\) ?(?:: (.+))?
/
gm

Description

Teste básico :

         + Update         () : void

         + KeyPress       (key : int) : bool
         + KeyRelease     (key : int) : bool
         + IsKeyDown      (key : int) : bool

         + MousePress     (button : int) : bool
         + MouseRelease   (button : int) : bool
         + IsMouseDown    (button : int) : bool

         + GetMouseX      () : int
         + GetMouseY      () : int

         + QuitRequested () : bool

         + GetInstance    () : InputManager&

         - InputManager ()
         - ~InputManager ()


         - mouseState : bool[6]
         - mouseUpdate : int[6]

         - keyState : ler abaixo
         - keyUpdate : ler abaixo

         - quitRequested : bool

         - updateCounter : int

         - mouseX : int
         - mouseY : int
Submitted by anonymous - 6 years ago