mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-12 02:57:34 +00:00
implemented mouse looking
This commit is contained in:
parent
88d70f2549
commit
5f7917c5cc
9 changed files with 117 additions and 19 deletions
|
|
@ -13,10 +13,12 @@ define([
|
|||
function (Parent, Box2D, PhysicsEngine, ViewController, PlayerController, NotificationCenter, requestAnimFrame, Settings, Stats) {
|
||||
|
||||
function GameController () {
|
||||
this.viewController = new ViewController();
|
||||
|
||||
|
||||
Parent.call(this, new PhysicsEngine());
|
||||
|
||||
this.viewController = new ViewController();
|
||||
|
||||
this.physicsEngine.setCollisionDetector();
|
||||
|
||||
this.me = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue