jdalbey

Kaboom Piece

Jun 18th, 2012
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.45 KB | None | 0 0
  1. /**
  2.  * Enumeration class Piece.
  3.  * Represents the visual states of a Kaboom Cell.
  4.  * There's a one-to-one correspondence with piece images.
  5.  * @author J. Dalbey
  6.  * @version 6/15/2012
  7.  */
  8. public enum Piece
  9. {
  10.  
  11. /** bomb, not hidden, unexploded, not flagged */        
  12.         bomb,
  13. /** exploded, not hidden */        
  14.         exploded,
  15. /** hidden and not flagged */        
  16.         hidden,
  17. /** hidden and flagged */        
  18.         flagged;
  19. }
Advertisement
Add Comment
Please, Sign In to add comment