Fausto Szweda
Results
2
comments of
Fausto Szweda

可以把添加命令代码改为 ``` Csharp MoveCommand moveCommand = new MoveCommand(moveCommandReciever, direction, moveDistance, objectToMove); moveCommand.Execute(); commands.Insert(currentCommandNum,moveCommand); currentCommandNum++; while (commands.Count>currentCommandNum) { commands.RemoveAt(commands.Count - 1); } ```