-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCard.java
65 lines (53 loc) · 1.31 KB
/
Card.java
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
/*
* **********************************************
* San Francisco State University
* CSC 220 - Data Structures
* File Name: Card.java
* @author: Duc Ta
* @author: Bryan Khor
* **********************************************
*/
package CSC220ASMT2;
public class Card {
//
// Instance Data Fields
//
private int artSize = 0; // Please change artSize, if needed, to get an identical output
private String artFont = ""; // Please change artFont, if needed, to get an identical output
private Student student;
private String message;
private String recipient;
//
// Constructors
//
public Card() {
}
public Card(Student student, String message, String recipient, int artSize, String artFont) {
this.student = student;
this.message = message;
this.recipient = recipient;
this.artSize = artSize;
this.artFont = artFont;
}
//
// Instance Methods
//
public int getArtSize() {
return artSize;
}
public void setArtSize(int artSize) {
this.artSize = artSize;
}
public String getArtFont() {
return artFont;
}
public void setArtFont(String artFont) {
this.artFont = artFont;
}
//
// Additional Instance Methods
//
//
// Language
//
}