 


/**
 * The Video class represents a video object. Information about
 * the video is stored and can be retrieved.
 * 
 *@author Michael Kölling and David J. Barnes
 *@version 2002-05-02
 */
public class VideoGame extends Item
{
    private int numberOfPlayers;
    private String platform;

    /**
     * Constructor for objects of class Video
     */
    public VideoGame(String theTitle, int players, String thePlatform, int time)
    {
        super(theTitle, time);
        numberOfPlayers = players;
        platform = thePlatform;    
    }
    
    /**
     * Constructor including gotIt parameter
     */
    public VideoGame(String theTitle, int players, String thePlatform, 
                                       int time, boolean gotIt)
    {
        super(theTitle, time, gotIt);
        numberOfPlayers = players;
        platform = thePlatform;
        
    }
    
    /**
     * Constructor including gotIt and comment parameters
     */
    public VideoGame(String theTitle, int players, String thePlatform, 
                                       int time, boolean gotIt, String comment)
    {
        super(theTitle, time, gotIt, comment);
        numberOfPlayers = players;
        platform = thePlatform;
        
    }
}
