= GUNS = [[TracNav(TracNav/TOC)]] one of the most interesting part for players of action games are GUNS. == types == __orxonox__ knows the following Gun-types: 1. __Lasers__, unidirectionals * '''direction''': one specified: front, sideways, backwards, up down * '''shiptype''': small ships 1. __Rockets__ * '''direction''': initial: to the front (if there exists one), flightpath variable * '''shiptype''': all ships 1. __Turrets__: * '''direction''': mouse-look * '''shiptype''': big ones (supporting multiple people) 1. __Bombs__ * '''direction''': hole screen * '''shiptype''': only the big guys :) ----- == implementation == * '''WeaponManager''': every ship has a WeaponManager, that... * handles its guns, * ticks them, * lets them shoot, * connects them to ships energy * activates/deactivates ... them. ----- * '''Weapon''': Superclass: this is the main class for Weapons, that will be derived by .see types. (many more) * '''Projectile''': Superclass: The Projectile-class is the main class for any ammo, what we acctually throw at enemies * Lasershots * Rockets * Electrical charges (as we are elictrical engeneers) * the Bomb(tm) itself * water and so on......