mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
changed function( to function (
This commit is contained in:
parent
26f3d22db7
commit
7e5eeb0a27
36 changed files with 209 additions and 209 deletions
4
app/Game/Core/Physics/Doll.js
Normal file → Executable file
4
app/Game/Core/Physics/Doll.js
Normal file → Executable file
|
|
@ -1,4 +1,4 @@
|
|||
define(["Lib/Vendor/Box2D", "Game/Config/Settings", "Game/Core/Collision/Detector"], function(Box2D, Settings, CollisionDetector) {
|
||||
define(["Lib/Vendor/Box2D", "Game/Config/Settings", "Game/Core/Collision/Detector"], function (Box2D, Settings, CollisionDetector) {
|
||||
|
||||
function Doll (physicsEngine, id){
|
||||
this.id = id;
|
||||
|
|
@ -106,7 +106,7 @@ define(["Lib/Vendor/Box2D", "Game/Config/Settings", "Game/Core/Collision/Detecto
|
|||
this.body.ApplyImpulse(vector, this.body.GetPosition());
|
||||
}
|
||||
|
||||
Doll.prototype.destroy = function() {
|
||||
Doll.prototype.destroy = function () {
|
||||
this.body.GetWorld().DestroyBody(this.body);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue