mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
added base classes to Server
This commit is contained in:
parent
9f8b3537a9
commit
9ec6074494
7 changed files with 60 additions and 4 deletions
20
app/Game/Core/GameObject.js
Normal file
20
app/Game/Core/GameObject.js
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
define([
|
||||
],
|
||||
|
||||
function() {
|
||||
|
||||
function GameObject() {
|
||||
this.body = null;
|
||||
}
|
||||
|
||||
GameObject.prototype.render = function() {
|
||||
return null;
|
||||
}
|
||||
|
||||
GameObject.prototype.getBody = function() {
|
||||
return this.body;
|
||||
};
|
||||
|
||||
return GameObject;
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue