Class AlienShotEntity

All Implemented Interfaces:
EventListener, EntityEventListener

public class AlienShotEntity extends ShotEntity
Tagging class to distinguish an Alien shot from a ship shot
  • Constructor Details

    • AlienShotEntity

      public AlienShotEntity(int x, int y, double yMoveSpeed)
      Create a new shot from an alien
      Parameters:
      x - The initial x location of the shot
      y - The initial y location of the shot
      game - The game in which the shot has been created
      sprite - The sprite representing this shot