= Weapon Concept = == Author == [wiki:people/MartinPolak] == Description == This project is about how to handle weapons. WeaponSystem gives other objects (e.g. Spaceships) the ability to carry different weapons and not just one. == Classes == '''WeaponSystem'''[[BR]] This is the main class. Every object that has the ability to carry weapons has a WeaponSystem (and only one). It manages all other classes of the weaponSystem. '''WeaponSet'''[[BR]] Defines which WeaponSlots are part of every WeaponSet. Represents the firemode. '''WeaponPack'''[[BR]] A WeaponPack is a standalone Package of Weapon objects. It can be attached to a object with a WeaponSystem. It could also be a PickupItem or something else. It is not connected to the WeaponSystem or the Spaceship. '''WeaponSlot'''[[BR]] This is a fixed Slot for a Weapon with a position and orientation on the Spaceship. It is also a member of the WeaponSystem. A Weapon can be put on a WeaponSlot. '''Weapon'''[[BR]] The base class for all weapons. Defines the general weapon properties, attaching to the spaceship ... '''Munition'''[[BR]] The base class for all munitions. '''specific classes:'''[[BR]] LaserGun LaserGunMunition Fusion == WeaponSystem == == Images / Diagrams ==