/** * @author pjnovas */ function Controls() { throw 'Controls class is Static.'; }; Controls.Left = "Left"; Controls.Right = "Right"; Controls.Shoot = "Shoot"; function Keyboard() { throw 'KeyboardCode class is Static.'; }; Keyboard.Left = 37; Keyboard.Right = 39; Keyboard.Up = 38; Keyboard.Down = 40; Keyboard.Space = 32;