Class BulletFiredEvent

  • All Implemented Interfaces:
    IEvent

    public final class BulletFiredEvent
    extends BotEvent
    Event occurring when a bullet has been fired from a bot.
    • Constructor Summary

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

      • BulletFiredEvent

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

      • getBullet

        public BulletState getBullet()
        Returns the bullet that was fired.
        Returns:
        The bullet that was fired.