PageRenderTime 18ms CodeModel.GetById 10ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/pocjs/entities/BatEntity.js

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