| Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
| AnimateEventCantMove |
|
| 1.0;1 |
| 1 | /****************************************************************************** | |
| 2 | * AnimateEventCantMove.java - Run the "Can't Move" animation | |
| 3 | * $Id$ | |
| 4 | * | |
| 5 | * BuckoFIBS - Backgammon by BuckoSoft | |
| 6 | * Copyright© 2011 - Dick Balaska - BuckoSoft, Corp. | |
| 7 | * | |
| 8 | * $Log$ | |
| 9 | * Revision 1.1 2011/05/22 22:56:08 dick | |
| 10 | * c.b.f.B.g.boardTab.board becomes c.b.f.B.g.boardTab.boardPane . | |
| 11 | * | |
| 12 | * Revision 1.2 2011/05/17 22:50:04 dick | |
| 13 | * AnimateEvent moves to c.b.f.B.g.b.b which is where it is used. | |
| 14 | * | |
| 15 | * Revision 1.1 2011/05/16 14:18:11 dick | |
| 16 | * Run the "Can't Move" animation. | |
| 17 | * | |
| 18 | */ | |
| 19 | ||
| 20 | /* | |
| 21 | * This program is free software: you can redistribute it and/or modify | |
| 22 | * it under the terms of the GNU General Public License as published by | |
| 23 | * the Free Software Foundation, either version 3 of the License, or | |
| 24 | * (at your option) any later version. | |
| 25 | * | |
| 26 | * This program is distributed in the hope that it will be useful, | |
| 27 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
| 28 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
| 29 | * GNU General Public License for more details. | |
| 30 | * | |
| 31 | * You should have received a copy of the GNU General Public License | |
| 32 | * along with this program. If not, see <http://www.gnu.org/licenses/>. | |
| 33 | * | |
| 34 | * The Original Code is BuckoFIBS, <http://www.buckosoft.com/BuckoFIBS/>. | |
| 35 | * The Initial Developer of the Original Code is Dick Balaska and BuckoSoft, Corp. | |
| 36 | * | |
| 37 | */ | |
| 38 | package com.buckosoft.fibs.BuckoFIBS.gui.boardTab.boardPane; | |
| 39 | ||
| 40 | ||
| 41 | /** Run the "Can't Move" animation. | |
| 42 | * @author Dick Balaska | |
| 43 | * @since 2011/05/16 | |
| 44 | * @version $Revision$ <br> $Date$ | |
| 45 | * @see <a href="http://cvs.buckosoft.com/Projects/BuckoFIBS/BuckoFIBS/src/main/java/com/buckosoft/fibs/BuckoFIBS/gui/boardTab/boardPane/AnimateEventCantMove.java">cvs AnimateEventCantMove.java</a> | |
| 46 | */ | |
| 47 | 0 | public class AnimateEventCantMove extends AnimateEvent { |
| 48 | ||
| 49 | @Override | |
| 50 | public int getDuration() { | |
| 51 | 0 | return 300; |
| 52 | } | |
| 53 | ||
| 54 | @Override | |
| 55 | public Type getType() { | |
| 56 | 0 | return(Type.CantMove); |
| 57 | } | |
| 58 | ||
| 59 | @Override | |
| 60 | public boolean isGui() { | |
| 61 | 0 | return false; |
| 62 | } | |
| 63 | ||
| 64 | } |