mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
use strict; fixes #83
This commit is contained in:
parent
b886728bf5
commit
2b186be8af
78 changed files with 163 additions and 5 deletions
|
|
@ -5,6 +5,8 @@ define([
|
|||
],
|
||||
|
||||
function (Parent, Settings, Nc) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function GamepadInput(playerController) {
|
||||
this.playerController = playerController;
|
||||
|
|
|
|||
|
|
@ -6,6 +6,8 @@ define([
|
|||
],
|
||||
|
||||
function (Parent, DomController, Settings, Nc) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function MouseInput() {
|
||||
Parent.call(this);
|
||||
|
|
|
|||
|
|
@ -3,6 +3,8 @@ define([
|
|||
],
|
||||
|
||||
function (Nc) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function XyInput() {
|
||||
this.x = null;
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ define([
|
|||
|
||||
function (Key) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function KeyboardInput (playerController) {
|
||||
|
||||
this._registry = {};
|
||||
|
|
|
|||
|
|
@ -8,6 +8,8 @@ define([
|
|||
|
||||
function (Parent, KeyboardInput, MouseInput, Nc, GamepadInput) {
|
||||
|
||||
"use strict";
|
||||
|
||||
function PlayerController (me) {
|
||||
|
||||
Parent.call(this, me);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue