src/weapon.js
/*
 * Single action: one shot per button press, with cooldown.
 */
Single action: one shot per button press, with cooldown.
Single action : one shot per button press with cooldown .
function ActionSingle(rate) {
	this.cooldown = Math.ceil(param.Rate / rate);
	this.remaining = 0;
	this.willFire = false;
}
function ActionSingle ( rate ) { this . cooldown = Math . ceil ( param . Rate / rate ) ; this . remaining = 0 ; this . willFire = false ; }
Single action: one shot per button press, with cooldown.
Single action : one shot per button press with cooldown .