Create attractive VASL scenarios, with loads of useful information embedded to assist with game play.
https://vasl-templates.org
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.
31 lines
743 B
31 lines
743 B
package vassal_shim ;
|
|
|
|
import java.awt.Point ;
|
|
|
|
// --------------------------------------------------------------------
|
|
|
|
public class ReportNode
|
|
{
|
|
// POD container that holds information about what was done.
|
|
|
|
String snippetId ;
|
|
Point labelPos ;
|
|
String caption ;
|
|
String msg ;
|
|
|
|
public ReportNode( String snippetId, Point labelPos, String caption, String msg )
|
|
{
|
|
// initialize the ReportNode
|
|
this.snippetId = snippetId ;
|
|
this.labelPos = labelPos ;
|
|
this.caption = caption ;
|
|
this.msg = msg ;
|
|
}
|
|
|
|
public ReportNode( String snippetId, Point labelPos )
|
|
{
|
|
// initialize the ReportNode
|
|
this.snippetId = snippetId ;
|
|
this.labelPos = labelPos ;
|
|
}
|
|
}
|
|
|