View Javadoc
1   /******************************************************************************
2    * GameEventPleaseRollOrDouble.java - Fibs wants the player to roll or double
3    * $Id$
4    * 
5    * BuckoFIBS - Backgammon by BuckoSoft
6    * Copyright© 2011 - Dick Balaska - BuckoSoft, Corp.
7    * 
8    * $Log$
9    * Revision 1.1  2011/05/21 05:13:58  dick
10   * Fibs wants the player to roll or double.
11   *
12   */
13  
14  /* 
15   * This program is free software: you can redistribute it and/or modify
16   * it under the terms of the GNU General Public License as published by
17   * the Free Software Foundation, either version 3 of the License, or
18   * (at your option) any later version.
19   *
20   * This program is distributed in the hope that it will be useful,
21   * but WITHOUT ANY WARRANTY; without even the implied warranty of
22   * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23   * GNU General Public License for more details.
24   *
25   * You should have received a copy of the GNU General Public License
26   * along with this program.  If not, see <http://www.gnu.org/licenses/>.
27   *
28   * The Original Code is BuckoFIBS, <http://www.buckosoft.com/BuckoFIBS/>.
29   * The Initial Developer of the Original Code is Dick Balaska and BuckoSoft, Corp.
30   * 
31   */
32  package com.buckosoft.fibs.domain.gameEvent;
33  
34  /** Fibs wants the player to roll or double.
35   * @author Dick Balaska
36   * @since 2011/05/18
37   * @version $Revision$ <br> $Date$
38   * @see com.buckosoft.fibs.BuckoFIBS.GameManager
39   * @see <a href="http://cvs.buckosoft.com/Projects/BuckoFIBS/BuckoFIBS/src/main/java/com/buckosoft/fibs/domain/gameEvent/GameEventPleaseRollOrDouble.java">cvs GameEventPleaseRollOrDouble.java</a>
40   */
41  public class GameEventPleaseRollOrDouble extends GameEvent {
42  
43  	@Override
44  	public Type getType() {
45  		return(Type.PleaseRollOrDouble);
46  	}
47  
48  	@Override
49  	public Life getLife() {
50  		return(Life.Transient);
51  	}
52  
53  	/** A dummy parser.  Nothing to parse for this event
54  	 * @param unused
55  	 */
56  	public void parse(String unused) {
57  	}
58  }