ScummVM API documentation
Mohawk::RivenTimerCommand Class Reference

#include <riven_scripts.h>

Inheritance diagram for Mohawk::RivenTimerCommand:
Mohawk::RivenCommand

Public Member Functions

 RivenTimerCommand (MohawkEngine_Riven *vm, const Common::SharedPtr< RivenStack::TimerProc > &timerProc)
 
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)
 

Additional Inherited Members

- Protected Attributes inherited from Mohawk::RivenCommand
MohawkEngine_Riven_vm
 

Detailed Description

A command to delay execution of card specific hardcoded scripts

Timers are queued as script commands so that they don't run when the doFrame method is called from an inner game loop.

Member Function Documentation

◆ dump()

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

Print details about the command to standard output

Implements Mohawk::RivenCommand.

◆ execute()

void Mohawk::RivenTimerCommand::execute ( )
overridevirtual

Execute the command

Implements Mohawk::RivenCommand.

◆ getType()

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

Get the command's type

Implements Mohawk::RivenCommand.


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