Fausto Szweda

Results 2 comments of Fausto Szweda

![Snipaste_2022-05-05_18-26-17](https://user-images.githubusercontent.com/34563231/166905672-01e2aa11-0210-4b68-8c20-1f00815f81ec.png)

可以把添加命令代码改为 ``` 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); } ```