chuck.js/app/Game/Server/Player.js
2013-01-05 08:19:49 +01:00

21 lines
No EOL
385 B
JavaScript

define([
"Game/Core/Player"
],
function(Parent) {
function Player(id, physicsEngine) {
Parent.call(this, id, physicsEngine);
this.inputController = null;
}
Player.prototype = Object.create(Parent.prototype);
Player.prototype.setInputController = function(inputController) {
this.inputController = inputController;
}
return Player;
});