Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package cinemabooking;
- import java.util.ArrayList;
- /**
- *
- * @author hypesystem
- */
- public interface Algorithm {
- /**
- * Automatically selects some seats for the client, before they get to click.
- * These seats should be the most desirable availible.
- */
- public ArrayList<Seat> autoSelect(ArrayList<ArrayList<Seat>> seats, int number_of_seats);
- /**
- * Takes all the seats as parameter and the x,y of the seat clicked and the
- * number of seats to select. Returns an array of the seats selected.
- */
- public ArrayList<Seat> seatClicked(ArrayList<ArrayList<Seat>> seats, int x, int y, int number_of_seats);
- }
Advertisement
Add Comment
Please, Sign In to add comment