コード例 #1
0
ファイル: MoveTo.cs プロジェクト: GraceAtwood/Erebos
        protected override void DoRollback()
        {
            StartingCell.Piece = Mover;
            EndingCell.Piece   = null;

            Mover.AnimateToCell(StartingCell);
        }
コード例 #2
0
ファイル: MoveTo.cs プロジェクト: GraceAtwood/Erebos
        protected override void DoExecute()
        {
            StartingCell.Piece = null;
            EndingCell.Piece   = Mover;

            Mover.AnimateToCell(EndingCell);
        }