Setting up weapon class