src/entities/Player.js
/**
	* Returns true if the player has a weapon of the given type.
	*
	* @param {WEAPON_TYPES} type - The weapon type.
	* @return {Boolean} Whether the player has a weapon of the given type or not.
	*/
Returns true if the player has a weapon of the given type.
@param {WEAPON_TYPES} type - The weapon type.
@return {Boolean} Whether the player has a weapon of the given type or not.
Returns true if the player has a weapon of the given type . @param { WEAPON_TYPES } type - The weapon type . @return { Boolean } Whether the player has a weapon of the given type or not .
hasWeapon( type ) {
		return this.weaponSystem.getWeapon( type ) !== null;
	}
hasWeapon ( type ) { return this . weaponSystem . getWeapon ( type ) !== null ; }
Returns true if the player has a weapon of the given type.
Returns true if the player has a weapon of the given type .