text: /* 
   * File:     rWeaponHoming.h
   * Project:  LinWarrior 3D
   * Home:     hackcraft.de
   *
   * Created on 27. November 2010, 17:15
   */
  
  #ifndef RHOMING_H
  #define	RHOMING_H
  
  class rWeaponHoming;
  
  #include "de/hackcraft/world/sub/weapon/rWeapon.h"
  
  /**
   * Small swarming homing missile.
   */
  class rWeaponHoming : public rWeapon {
  public: // SYSTEM
      /** Identifier for this component (all uppercase letters without leading "r"). */
      static std::string cname;
      /** A unique random number (0-9999) to identify this component. */
      static unsigned int cid;
  public:
      rWeaponHoming(Entity* obj = NULL);
  
      virtual void fire();
      virtual void animate(float spf);
      virtual void drawSolid();
      virtual void drawEffect();
      virtual void drawHUD();
  };
  
  #endif	/* CHOMING_H */
  
  