BWAPI
quorum/include/BWAPI/BulletType.h
Go to the documentation of this file.
00001 #pragma once
00002 #include <string>
00003 #include <set>
00004 
00005 namespace BWAPI
00006 {
00007   class BulletType
00008   {
00009     public:
00010       BulletType();
00011       BulletType(int id);
00012       BulletType(const BulletType& other);
00013       BulletType& operator=(const BulletType& other);
00014       operator int() const;
00015 
00017       int getID() const;
00018 
00020       std::string getName() const;
00021     private:
00022       int id;
00023   };
00024 
00025   namespace BulletTypes
00026   {
00028     BulletType getBulletType(std::string name);
00029 
00031     std::set<BulletType>& allBulletTypes();
00032     void init();
00033     extern const BulletType Melee;
00034     extern const BulletType Fusion_Cutter_Hit;
00035     extern const BulletType Gauss_Rifle_Hit;
00036     extern const BulletType C_10_Canister_Rifle_Hit;
00037     extern const BulletType Gemini_Missiles;
00038     extern const BulletType Fragmentation_Grenade;
00039     extern const BulletType Longbolt_Missile;
00040     extern const BulletType ATS_ATA_Laser_Battery;
00041     extern const BulletType Burst_Lasers;
00042     extern const BulletType Arclite_Shock_Cannon_Hit;
00043     extern const BulletType EMP_Missile;
00044     extern const BulletType Dual_Photon_Blasters_Hit;
00045     extern const BulletType Particle_Beam_Hit;
00046     extern const BulletType Anti_Matter_Missile;
00047     extern const BulletType Pulse_Cannon;
00048     extern const BulletType Psionic_Shockwave_Hit;
00049     extern const BulletType Psionic_Storm;
00050     extern const BulletType Yamato_Gun;
00051     extern const BulletType Phase_Disruptor;
00052     extern const BulletType STA_STS_Cannon_Overlay;
00053     extern const BulletType Sunken_Colony_Tentacle;
00054     extern const BulletType Acid_Spore;
00055     extern const BulletType Glave_Wurm;
00056     extern const BulletType Seeker_Spores;
00057     extern const BulletType Queen_Spell_Carrier;
00058     extern const BulletType Plague_Cloud;
00059     extern const BulletType Consume;
00060     extern const BulletType Needle_Spine_Hit;
00061     extern const BulletType Invisible;
00062     extern const BulletType Optical_Flare_Grenade;
00063     extern const BulletType Halo_Rockets;
00064     extern const BulletType Subterranean_Spines;
00065     extern const BulletType Corrosive_Acid_Shot;
00066     extern const BulletType Neutron_Flare;
00067     extern const BulletType None;
00068     extern const BulletType Unknown;
00069   };
00070 }
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Defines