Shot Inheritance

Since VariaBULLET2D shots have an existing inheritance scheme, you will want to choose an existing shot class that your custom script inherits from, and extend new behavior from there. So, the first step is determining which shot class houses the most fundamental functionality that’s closest to the behavior you want to create.

The following is an inheritance tree of existing shot classes. For better definitions of these classes, see the Shot Scripts section above.

  • ShotBase
    • ShotLaser
    • ShotBullet
      • ShotBaseAnimatable
        • ShotBaseScalable
          • ShotBaseRotatable
            • ShotBaseColorizable
              • ShotLinearNonPhysics
              • ShotLinearPhysics