(game, frame)
| 342 | /***********************************************************************************/ |
| 343 | |
| 344 | var Tree = function(game, frame) { |
| 345 | Phaser.Sprite.call(this, game, 0, 0, 'imgTree', frame); |
| 346 | |
| 347 | this.game.physics.arcade.enableBody(this); |
| 348 | |
| 349 | this.body.allowGravity = false; |
| 350 | this.body.immovable = true; |
| 351 | }; |
| 352 | |
| 353 | Tree.prototype = Object.create(Phaser.Sprite.prototype); |
| 354 | Tree.prototype.constructor = Tree; |
nothing calls this directly
no outgoing calls
no test coverage detected