类 UndoManager<R extends Round>

java.lang.Object
me.magicall.game.sub.round.CommonRoundManager
me.magicall.game.sub.round.skill.UndoManager<R>
所有已实现的接口:
Undoable
直接已知子类:
UndoRedoManager

public class UndoManager<R extends Round> extends CommonRoundManager implements Undoable
  • 字段详细资料

    • maxUndoRoundCount

      protected int maxUndoRoundCount
  • 构造器详细资料

    • UndoManager

      public UndoManager(int maxUndoRoundCount)
  • 方法详细资料

    • undo

      public R undo()
      指定者:
      undo 在接口中 Undoable
    • undo

      public List<R> undo(int undoRoundCount)
      指定者:
      undo 在接口中 Undoable
    • getMaxUndoRoundCount

      public int getMaxUndoRoundCount()
    • setMaxUndoRoundCount

      public void setMaxUndoRoundCount(int maxUndoRoundCount)