| Revision 2,
755 bytes
checked in by jdalbey, 10 years ago
(diff) |
|
Initial Import of project files
|
| Line | |
|---|
| 1 | package tmcsim.cadsimulator.videocontrol; |
|---|
| 2 | |
|---|
| 3 | /** |
|---|
| 4 | * DVDIncident is a container class used within video control. This class is |
|---|
| 5 | * used by the DVDController to determine which DVD title is to be played |
|---|
| 6 | * when an incident is toggled. |
|---|
| 7 | * |
|---|
| 8 | * @author Matthew Cechini |
|---|
| 9 | * @version |
|---|
| 10 | */ |
|---|
| 11 | public class DVDIncident { |
|---|
| 12 | |
|---|
| 13 | /** The incident log number. */ |
|---|
| 14 | public int incidentNumber; |
|---|
| 15 | |
|---|
| 16 | /** The DVD title to play for this incident. */ |
|---|
| 17 | public int dvdTitle; |
|---|
| 18 | |
|---|
| 19 | /** |
|---|
| 20 | * Construct. Initialize member data with parameter values. |
|---|
| 21 | * |
|---|
| 22 | * @param incident Incident number. |
|---|
| 23 | * @param title DVD title number. |
|---|
| 24 | */ |
|---|
| 25 | public DVDIncident(int incident, int title) { |
|---|
| 26 | incidentNumber = incident; |
|---|
| 27 | dvdTitle = title; |
|---|
| 28 | } |
|---|
| 29 | |
|---|
| 30 | } |
|---|
Note: See
TracBrowser
for help on using the repository browser.