Package src.model

Class PlatinumCinema

Object
Cinema
PlatinumCinema
All Implemented Interfaces:
Serializable, Comparable

public class PlatinumCinema extends Cinema
The Class inherited from the Superclass Cinema that handles the data of Platinum Cinema
Version:
1.0
Author:
Lee Juin
See Also:
  • Constructor Details

    • PlatinumCinema

      public PlatinumCinema(String UUID, ArrayList<Seat> seats, int numOfRows, int totalNumOfSeats)
      Constructor for PlatinumCinema class
      Parameters:
      UUID - is the unique ID in the database
      seats - is all the Seat instances in the cinema
      numOfRows - is the total number of rows in the cinema
      totalNumOfSeats - is the total number of seats in the cinema
  • Method Details

    • setCinemaPrice

      public void setCinemaPrice(double cinemaPrice)
      Sets the price weight of the cinema
      Specified by:
      setCinemaPrice in class Cinema
      Parameters:
      cinemaPrice - is the price weight of the cinema
    • getCinemaPrice

      public double getCinemaPrice()
      Gets the price weight of the cinema
      Specified by:
      getCinemaPrice in class Cinema
      Returns:
      The price weight of the cinema