Package commands
Class CmdUpdateSquare
- java.lang.Object
-
- commands.CmdUpdateSquare
-
-
Constructor Summary
Constructors Constructor Description CmdUpdateSquare(Square oldState, Square newState)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Update square.voidunexecute()Undo previous updating and return square to the original values.
-