OSDN Git Service

ステージ修復
authorisuke <namahage.toshi@gmail.com>
Thu, 29 Aug 2013 04:51:30 +0000 (13:51 +0900)
committerisuke <namahage.toshi@gmail.com>
Thu, 29 Aug 2013 04:51:30 +0000 (13:51 +0900)
www/corelib/classes/MainCharacters/MainCharacterClass_Hunter.js
www/corelib/classes/MainCharacters/MainCharacterClass_Man.js
www/corelib/classes/MainCharacters/MainCharacterClass_NakedMan.js
www/corelib/classes/MainCharacters/MainCharacterClass_Thief.js
www/corelib/classes/MainCharacters/MainCharacterClass_Woman.js
www/stage/okubo.js

index acde52f..1242af9 100644 (file)
@@ -6,7 +6,7 @@ var MainCharacterClass_Hunter = function(stage, args){
        this.movingVelocity = 200;
 
        this.ownerUID = stage.manager.userID;
-       stage.userControlledCharacter = this;
+       
        stage.addStageObject(this, true);
 
 }.extend(MainCharacterClass, {
index c0c6541..c3d9db3 100644 (file)
@@ -6,7 +6,7 @@ this.size.x = 32;
        this.movingVelocity = 200;
 
        this.ownerUID = stage.manager.userID;
-       stage.userControlledCharacter = this;
+       
        stage.addStageObject(this, true);
 
 }.extend(MainCharacterClass, {
index 2b84c99..1dbe69c 100644 (file)
@@ -8,7 +8,6 @@ var MainCharacterClass_NakedMan = function(stage, args){
         this.movingVelocity = 250;
         this.max_HP = 50;
        this.HP = this.max_HP;
-       stage.userControlledCharacter = this;
        stage.addStageObject(this, true);
 }.extend(MainCharacterClass, {
        className: "MainCharacterClass_NakedMan",
index 0b9b1bc..6cca1ff 100644 (file)
@@ -6,7 +6,7 @@ var MainCharacterClass_Thief = function(stage, args){
        this.movingVelocity = 205;
 
        this.ownerUID = stage.manager.userID;
-       stage.userControlledCharacter = this;
+
        stage.addStageObject(this, true);
 
 }.extend(MainCharacterClass, {
index be3bce8..ce19563 100644 (file)
@@ -6,7 +6,7 @@ var MainCharacterClass_Woman = function(stage, args){
        this.movingVelocity = 200;
 
        this.ownerUID = stage.manager.userID;
-       stage.userControlledCharacter = this;
+       
        stage.addStageObject(this, true);
 
 }.extend(MainCharacterClass, {
index 7dc378d..372c8b2 100755 (executable)
@@ -123,6 +123,7 @@ stage.runStage = function(){
        var main = new MainCharacterClass_Woman(stage);
        main.origin.x = 0;
        main.origin.y = 0;
+       stage.userControlledCharacter = main;
 
        var e1 = new EnemyCharacterClass_PanTank(stage);
        e1.origin.x = 2800;