ScummVM API documentation
Mohawk::RivenStackChangeCommand Class Reference

#include <riven_scripts.h>

Inheritance diagram for Mohawk::RivenStackChangeCommand:
Mohawk::RivenCommand

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 RivenStackChangeCommandcreateFromStream (MohawkEngine_Riven *vm, Common::ReadStream *stream)
 

Additional Inherited Members

- Protected Attributes inherited from Mohawk::RivenCommand
MohawkEngine_Riven_vm
 

Detailed Description

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.

Member Function Documentation

◆ dump()

void Mohawk::RivenStackChangeCommand::dump ( byte  tabs)
overridevirtual

Print details about the command to standard output

Implements Mohawk::RivenCommand.

◆ execute()

void Mohawk::RivenStackChangeCommand::execute ( )
overridevirtual

Execute the command

Implements Mohawk::RivenCommand.

◆ getType()

RivenCommandType Mohawk::RivenStackChangeCommand::getType ( ) const
overridevirtual

Get the command's type

Implements Mohawk::RivenCommand.


The documentation for this class was generated from the following file: