mirror of
				https://github.com/bspeice/UNCCGameDay
				synced 2025-11-04 02:10:35 -05:00 
			
		
		
		
	Finally, alerts actually display.
This commit is contained in:
		@ -18,13 +18,21 @@ public class Alert {
 | 
			
		||||
	private String message;
 | 
			
		||||
	private boolean shown;
 | 
			
		||||
	
 | 
			
		||||
	// Default constructor
 | 
			
		||||
	public Alert(){}
 | 
			
		||||
	
 | 
			
		||||
	public Alert(Date alarmDate, String message, boolean shown) {
 | 
			
		||||
		this.setAlarmDate(alarmDate);
 | 
			
		||||
		this.setMessage(message);
 | 
			
		||||
		this.setShown(shown);
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	public Date getAlarmDate() {
 | 
			
		||||
		return alarmDate;
 | 
			
		||||
	}
 | 
			
		||||
	public void setAlarmDate(Date alarmDate) {
 | 
			
		||||
		this.alarmDate = alarmDate;
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	public String getMessage() {
 | 
			
		||||
		return message;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user