|
Manually cancelling a Command
Hello,
I am trying to create a Command subclass which listens for an interrupt to cancel the command. When cancelling the command, I have tried using the Cancel() method, but it fails when the command is part of a CommandGroup. Is there a universal way to forcibly end a command from within the command itself?
EDIT: Also, can the Cancel() method be used on a CommandGroup object? If so, I could work around this issue.
Last edited by axiomofdarkness : 03-23-2016 at 02:52 PM.
|