Class ProjectileMoveEvent

    • Constructor Detail

      • ProjectileMoveEvent

        public ProjectileMoveEvent​(Projectile source,
                                   Position position,
                                   int height,
                                   int cycle)
        Constructs a prototypical Event.
        Parameters:
        source - The object on which the Event initially occurred.
        Throws:
        IllegalArgumentException - if source is null.
    • Method Detail

      • getTargetPosition

        public Position getTargetPosition()
      • getHeight

        public int getHeight()
      • getCycle

        public int getCycle()