您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

TurnDemo.java 469 B

123456789101112131415161718
  1. package demo;
  2. import commands.BasicCommands;
  3. import akka.actor.ActorRef;
  4. public class TurnDemo {
  5. /**
  6. * This method is used to demonstrate the use of the endTurnClicked event.
  7. *
  8. * @param out
  9. */
  10. public static void executeDemo(ActorRef out) {
  11. // addPlayer1Notification
  12. BasicCommands.addPlayer1Notification(out, "Turn Demo", 2);
  13. try {Thread.sleep(2000);} catch (InterruptedException e) {e.printStackTrace();}
  14. }
  15. }