Implemented the Gun class to use with Box