optimization after better understanding of FlxWeapon class