- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Actions/ManipulateAtomsProcess.hpp
rafb47f r5b0b98 10 10 11 11 #include "Actions/Process.hpp" 12 13 #include<boost/function.hpp> 14 12 15 #include "Descriptors/AtomDescriptor.hpp" 16 17 class World; 13 18 14 19 class ManipulateAtomsProcess : public Process … … 18 23 virtual ~ManipulateAtomsProcess(); 19 24 20 virtual void call();21 virtual void undo();22 25 virtual bool canUndo(); 26 virtual bool shouldUndo(); 23 27 24 28 virtual void doManipulate(World *); 25 29 private: 30 31 virtual Action::state_ptr performCall(); 32 virtual Action::state_ptr performUndo(Action::state_ptr); 33 virtual Action::state_ptr performRedo(Action::state_ptr); 34 26 35 AtomDescriptor descr; 27 36 boost::function<void(atom*)> operation;
Note:
See TracChangeset
for help on using the changeset viewer.