-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStamp
More file actions
43 lines (36 loc) · 633 Bytes
/
Stamp
File metadata and controls
43 lines (36 loc) · 633 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
42
43
package uwstout.cs144.projects.project3.toddlerGame;
import java.awt.*;
/**
* This is an interface for a Stamp.
*
* @author flowersC
* @version 2016-12-13
*
*/
public interface Stamp {
/**
* This gets the position of the stamp.
*
* @return the point
*/
public Point getPosition();
/**
* This gets the dimension of the stamp.
*
* @return the dimension
*/
public Dimension getSize();
/**
* This gets the color of the stamp.
*
* @return the color
*/
public Color getColor();
/**
* This draws the stamp
*
* @param g
* the graphics
*/
public void draw(Graphics g);
}