Cleanup: Use Phaser.Bullet & Phaser.Weapon
authorMegaBrutal <code+git@megabrutal.com>
Wed, 27 Dec 2017 23:05:00 +0000 (00:05 +0100)
committerMegaBrutal <code+git@megabrutal.com>
Wed, 27 Dec 2017 23:05:00 +0000 (00:05 +0100)
I realized I reinvented the wheel by implementing my custom projectile
sprite derived from Phaser.Sprite. There are predefined classes in
Phaser.js just for this purpose. Now the player's weapon is derived
from Phaser classes.

modified:   ld40.js


No differences found