Java poker implementation
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

Suit.java 374B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) Chris 'MD87' Smith, 2007. All rights reserved.
  3. *
  4. * This code may not be redistributed without prior permission from the
  5. * aforementioned copyright holder(s).
  6. */
  7. package com.md87.cardgame;
  8. /**
  9. * Defines the standard suits used in a pack of cards.
  10. *
  11. * @author Chris
  12. */
  13. public enum Suit {
  14. CLUBS,
  15. SPADES,
  16. DIAMONDS,
  17. HEARTS;
  18. }