Frames and Sprites

Groupwork

Design a 2d, text-based frame for Dragonfly. What state does the Frame need to keep track of? So, what attributes does it need? Any custom methods?

    class Frame {
    
      // Attributes here.
      private:



      // Methods here.
      public:



    };


Design a Sprite class for Dragonfly. What state does the Sprite need to keep track of? So, what attributes does it need? Any custom methods?

    class Sprite {
    
      // Attributes here.
      private:




      // Methods here.
      public:





    };

Hand-in

Have ONE person from each group submit the group's answers:

Make sure to include the names of all group members.

Happy template-ing!

-- Mark