mirror of
https://github.com/Karaka-Management/jsOMS.git
synced 2026-01-11 09:58:39 +00:00
51 lines
1.0 KiB
JavaScript
51 lines
1.0 KiB
JavaScript
/**
|
|
* UI manager class.
|
|
*
|
|
* @copyright Dennis Eichhorn
|
|
* @license OMS License 1.0
|
|
* @version 1.0.0
|
|
* @since 1.0.0
|
|
*/
|
|
(function (jsOMS)
|
|
{
|
|
"use strict";
|
|
|
|
/** @namespace jsOMS.UI.Input */
|
|
jsOMS.Autoloader.defineNamespace('jsOMS.UI.Input');
|
|
|
|
/**
|
|
* @constructor
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
jsOMS.UI.Input.InputManager = function ()
|
|
{
|
|
this.keyBoardManager = new jsOMS.UI.Input.Keyboard.KeyboardManager();
|
|
this.mouseManager = new jsOMS.UI.Input.Mouse.MouseManager();
|
|
};
|
|
|
|
/**
|
|
* Get keyboard manager.
|
|
*
|
|
* @return {Object}
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
jsOMS.UI.Input.InputManager.prototype.getKeyboardManager = function ()
|
|
{
|
|
return this.keyBoardManager;
|
|
};
|
|
|
|
/**
|
|
* Get mouse manager.
|
|
*
|
|
* @return {Object}
|
|
*
|
|
* @since 1.0.0
|
|
*/
|
|
jsOMS.UI.Input.InputManager.prototype.getMouseManager = function ()
|
|
{
|
|
return this.mouseManager;
|
|
};
|
|
}(window.jsOMS = window.jsOMS || {}));
|