mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-09-12 12:06:39 +08:00
Cleanup/refactor for #3
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
exports = module.exports = EntityController;
|
||||
|
||||
function EntityController () {
|
||||
}
|
||||
|
||||
EntityController.prototype = {
|
||||
};
|
||||
@@ -0,0 +1,10 @@
|
||||
var EntityController = require('./entitycontroller'),
|
||||
Player = require('../entities/player');
|
||||
|
||||
exports = module.exports = PlayerController;
|
||||
|
||||
function PlayerController () {
|
||||
EntityController.call(this);
|
||||
}
|
||||
|
||||
PlayerController.prototype = Object.create(EntityController.prototype);
|
||||
Reference in New Issue
Block a user