Last change
on this file since 4 was 4, checked in by davidb, 16 years ago |
Starting source code to Expeditee
|
File size:
387 bytes
|
Line | |
---|
1 | package org.expeditee.gui;
|
---|
2 |
|
---|
3 | public class Overlay {
|
---|
4 | public Frame Frame;
|
---|
5 |
|
---|
6 | public int Level;
|
---|
7 |
|
---|
8 | public Overlay(Frame overlay, int level) {
|
---|
9 | Frame = overlay;
|
---|
10 | Level = level;
|
---|
11 | }
|
---|
12 |
|
---|
13 | @Override
|
---|
14 | public boolean equals(Object o) {
|
---|
15 | if (o == null || o.getClass() != Overlay.class)
|
---|
16 | return false;
|
---|
17 |
|
---|
18 | return ((Overlay) o).Frame == Frame;
|
---|
19 | }
|
---|
20 |
|
---|
21 | @Override
|
---|
22 | public int hashCode() {
|
---|
23 | return 0;
|
---|
24 | }
|
---|
25 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.