Java poker implementation
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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. }