类 AbsUndoPlugin<G extends Fighting,R extends Round>

java.lang.Object
me.magicall.game.sub.round.plugin.AbsUndoPlugin<G,R>
所有已实现的接口:
GameLauncherPlugin
直接已知子类:
AbsRedoPlugin

public abstract class AbsUndoPlugin<G extends Fighting,R extends Round> extends Object implements GameLauncherPlugin
  • 字段详细资料

  • 构造器详细资料

    • AbsUndoPlugin

      public AbsUndoPlugin()
  • 方法详细资料

    • undoRound

      protected abstract void undoRound(G game, R round, boolean useOld)
    • afterGame

      public void afterGame(Fighting fighting)
      指定者:
      afterGame 在接口中 GameLauncherPlugin
    • beforeGameStart

      public void beforeGameStart(Fighting fighting)
      指定者:
      beforeGameStart 在接口中 GameLauncherPlugin
    • addSkill

      protected void addSkill(Fighting fighting)
      参数:
      fighting -
    • newUndoSkill

      protected AbsUndoPlugin<G,R>.Undo newUndoSkill()
    • newUndoManager

      protected UndoManager<R> newUndoManager(int maxUndoRoundCount)
    • beforeConfigGameOption

      public void beforeConfigGameOption(GameOption gameOption)
      指定者:
      beforeConfigGameOption 在接口中 GameLauncherPlugin
    • getMaxUndoCount

      protected int getMaxUndoCount()
    • getUndoManager

      protected UndoManager<R> getUndoManager()
    • maxAvailable

      protected int maxAvailable()
    • minAvailable

      protected int minAvailable()
    • defaultValue

      protected int defaultValue()