コード例 #1
0
ファイル: InputManager.cs プロジェクト: TenYearsADream/GLImp
 internal static void Init()
 {
     KeyboardManager.Init();
     MouseManager.Init();
     JoystickManager.Init();
     GamePadManager.Init();
 }
コード例 #2
0
ファイル: InputManager.cs プロジェクト: TenYearsADream/GLImp
 //Copy over the current state to the previous state when this is called. This will get called around 60Hz, so, make it fast!
 //Also, make sure that the current state is unchanged and independant from the previous state (ie: no shallow copy)
 internal static void Update()
 {
     KeyboardManager.Update();
     MouseManager.Update();
     JoystickManager.Update();
     GamePadManager.Update();
 }