/pocjs/entities/BatEntity.js
http://github.com/sbober/pocjs · JavaScript · 16 lines · 12 code · 4 blank · 0 comment · 0 complexity · f0ce4ef01acd0fdf90e4d78c98c2beb6 MD5 · raw file
- dojo.provide("pocjs.entities.BatEntity");
-
- dojo.declare("pocjs.entities.BatEntity", pocjs.entities.EnemyEntity, {
-
- "-chains-": {constructor: "manual"},
- constructor: function(x, z) {
- this.inherited(arguments, [x, z, 4 * 8, pocjs.Art.getCol(0x82666E)]);
- this.x = x;
- this.z = z;
- this.health = 2;
- this.r = 0.3;
-
- this.flying = true;
- }
- });