| CS 1371 Dept. Presents: |
Class AppAction
| Method Summary | |
|---|---|
| AppAction ( String ) Constructor that takes in a string that represents what the action would do |
|
The string representation of the MStack |
|
| execute ( ) Executes the action |
|
| undo ( )
Undoes the action |
|
| Method Detail |
|---|
app = AppAction ( 'sleep' )
Creates an AppAction object app