-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStampList
More file actions
41 lines (35 loc) · 690 Bytes
/
StampList
File metadata and controls
41 lines (35 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
package uwstout.cs144.projects.project3.toddlerGame;
/**
* This interface stores stamps in a list.
*
* @author flowersC
* @version 2016-12-13
*
*/
public interface StampList {
/**
* This method gets how many stamps are on the panel.
*
* @return the stamp count
*/
public int getStampCount();
/**
* This method gets a stamp in the list.
*
* @param pos
* the index
* @return the stamp
*/
public Stamp getStamp(int pos);
/**
* This method adds a stamp to the list.
*
* @param s
* the stamp
*/
public void addStamp(Stamp s);
/**
* This method removes all stamps from your list.
*/
public void removeAllStamps();
}