#include <riven_scripts.h>
Public Member Functions | |
RivenStackChangeCommand (MohawkEngine_Riven *vm, uint16 stackId, uint32 globalCardId, bool byStackId, bool byStackCardId) | |
void | dump (byte tabs) override |
void | execute () override |
RivenCommandType | getType () const override |
Public Member Functions inherited from Mohawk::RivenCommand | |
RivenCommand (MohawkEngine_Riven *vm) | |
virtual void | applyCardPatches (uint32 globalId, int scriptType, uint16 hotspotId) |
Static Public Member Functions | |
static RivenStackChangeCommand * | createFromStream (MohawkEngine_Riven *vm, Common::ReadStream *stream) |
Additional Inherited Members | |
Protected Attributes inherited from Mohawk::RivenCommand | |
MohawkEngine_Riven * | _vm |
A command to go to a different stack
Changes the active stack and sets the initial card. The stack can be specified by global id or name id in the initial stack. The destination card must be specified by global id.
|
overridevirtual |
Print details about the command to standard output
Implements Mohawk::RivenCommand.
|
overridevirtual |
Execute the command
Implements Mohawk::RivenCommand.
|
overridevirtual |
Get the command's type
Implements Mohawk::RivenCommand.