game.events.actions
Class BulletinAction

java.lang.Object
  |
  +--game.events.actions.BulletinAction
All Implemented Interfaces:
Action, Bulletin.Interface

public class BulletinAction
extends java.lang.Object
implements Action, Bulletin.Interface


Field Summary
protected  java.lang.String title
          The current title.
 
Constructor Summary
BulletinAction()
          Constructor.
 
Method Summary
 void closing()
          Show the next bulletin, this method is called when the previous bulletin is closed.
static void listBulletins()
          List the bulletins so one can be displayed.
 void perform(Civilization civilization)
          Perform the action.
 void setHeight(int value)
          Set the height.
 void setMessage(java.lang.String value)
          Set the message.
 void setRemove(java.lang.String value)
          Remove from static list.
 void setTitle(java.lang.String value)
          Set the display title.
 void setWidth(int value)
          Set the width.
 void setX(int value)
          Set the x position.
 void setY(int value)
          Set the y position.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

title

protected java.lang.String title
The current title.

Constructor Detail

BulletinAction

public BulletinAction()
Constructor.

Method Detail

listBulletins

public static void listBulletins()
List the bulletins so one can be displayed.


setTitle

public void setTitle(java.lang.String value)
Set the display title.


setX

public void setX(int value)
Set the x position.


setY

public void setY(int value)
Set the y position.


setWidth

public void setWidth(int value)
Set the width.


setHeight

public void setHeight(int value)
Set the height.


setMessage

public void setMessage(java.lang.String value)
Set the message. Add to list in backwards order.


setRemove

public void setRemove(java.lang.String value)
Remove from static list.

Parameters:
value - the title to remove.

perform

public void perform(Civilization civilization)
Perform the action.

Specified by:
perform in interface Action

closing

public void closing()
Show the next bulletin, this method is called when the previous bulletin is closed.

Specified by:
closing in interface Bulletin.Interface