You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
424 B
25 lines
424 B
package net.sector.level.sequence;
|
|
|
|
|
|
/**
|
|
* HUD message object
|
|
*
|
|
* @author Ondřej Hruška (MightyPork)
|
|
*/
|
|
public class HudMessage {
|
|
/** Message text */
|
|
public String text = "";
|
|
/** Displayed secs */
|
|
public double secs = 3;
|
|
|
|
/**
|
|
* NMew HUD message
|
|
*
|
|
* @param text message text
|
|
* @param time time of dysplay (secs)
|
|
*/
|
|
public HudMessage(String text, double time) {
|
|
this.text = text;
|
|
secs = time;
|
|
}
|
|
}
|
|
|