|
|
@@ -1,6 +1,6 @@
|
|
|
|
|
|
cc.Class({
|
|
|
- extends: require("BaseCharactor"),
|
|
|
+ extends: require("baseCharactor"),
|
|
|
|
|
|
properties: {
|
|
|
|
|
|
@@ -18,14 +18,7 @@ cc.Class({
|
|
|
|
|
|
},
|
|
|
attack(bLeft){
|
|
|
- if(bLeft)
|
|
|
- {
|
|
|
- this.armature.animation.play("attack",1);
|
|
|
- }
|
|
|
- else
|
|
|
- {
|
|
|
- this.armature.animation.play("attack",1);
|
|
|
- }
|
|
|
+
|
|
|
},
|
|
|
animationEventHandler(event) {
|
|
|
if (event.type === dragonBones.EventObject.COMPLETE) {
|