ScummVM API documentation
Mohawk::RivenInventory Class Reference

#include <riven_inventory.h>

Public Member Functions

 RivenInventory (MohawkEngine_Riven *vm)
 
void checkClick (const Common::Point &mousePos)
 
void backFromItemScript () const
 
void onFrame ()
 
void forceVisible (bool visible)
 
void forceHidden (bool hidden)
 

Detailed Description

The player's inventory

Is responsible for drawing the bottom part of the screen.

Member Function Documentation

◆ checkClick()

void Mohawk::RivenInventory::checkClick ( const Common::Point mousePos)

Handle a click event in the inventory area

◆ backFromItemScript()

void Mohawk::RivenInventory::backFromItemScript ( ) const

Go back to the game from an inventory item detail view

◆ onFrame()

void Mohawk::RivenInventory::onFrame ( )

Make the inventory visible and draw it as necessary

◆ forceVisible()

void Mohawk::RivenInventory::forceVisible ( bool  visible)

Force the inventory to be visible even in situations where it usually is not

◆ forceHidden()

void Mohawk::RivenInventory::forceHidden ( bool  hidden)

Force the inventory to be hidden even in situations where it usually is not


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