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 void
execute()
Update square.void
unexecute()
Undo previous updating and return square to the original values.
-