Class BulletHitWallEvent

  • All Implemented Interfaces:
    IEvent

    public final class BulletHitWallEvent
    extends BotEvent
    Event occurring when a bullet has hit a wall.
    • Constructor Summary

      Constructors 
      Constructor Description
      BulletHitWallEvent​(int turnNumber, BulletState bullet)
      Initializes a new instance of the BulletHitWallEvent class.
    • Constructor Detail

      • BulletHitWallEvent

        public BulletHitWallEvent​(int turnNumber,
                                  BulletState bullet)
        Initializes a new instance of the BulletHitWallEvent class.
        Parameters:
        turnNumber - is the turn number when the bullet has hit a wall.
        bullet - is the bullet that has hit a wall.
    • Method Detail

      • getBullet

        public BulletState getBullet()
        Returns the bullet that has hit a wall.
        Returns:
        The bullet that has hit a wall.