Class EmptyBubbleView

Direct Known Subclasses:
EnemyBubbleView

public class EmptyBubbleView extends PlayerBubbleView
The EmptyBubbleView class represents the view for an EmptyBubbleModel. It handles drawing the empty bubble on the screen.
  • Constructor Details

    • EmptyBubbleView

      public EmptyBubbleView(BubbleModel bubbleModel)
      Constructs an EmptyBubbleView with the specified BubbleModel.
      Parameters:
      bubbleModel - the model for the bubble entity
  • Method Details

    • draw

      public void draw(Graphics g)
      Draws the empty bubble on the screen.
      Specified by:
      draw in class PlayerBubbleView
      Parameters:
      g - the Graphics object to draw with