ScummVM API documentation
Voyeur::HotspotTimes< SLOTS > Class Template Reference

#include <data.h>

Public Member Functions

void reset ()
 
void synchronize (Common::Serializer &s)
 
bool isInRange (int slotIndex, int hotspotIndex, int v) const
 

Public Attributes

int _min [SLOTS][20]
 
int _max [SLOTS][20]
 

Detailed Description

template<int SLOTS>
class Voyeur::HotspotTimes< SLOTS >

Encapsulates a list of the time expired ranges that hotspots in the mansion view are enabled for in a given time period.

Member Function Documentation

◆ reset()

template<int SLOTS>
void Voyeur::HotspotTimes< SLOTS >::reset ( void  )
inline

Resets the data to an initial state

◆ synchronize()

template<int SLOTS>
void Voyeur::HotspotTimes< SLOTS >::synchronize ( Common::Serializer s)
inline

Synchronise the data

◆ isInRange()

template<int SLOTS>
bool Voyeur::HotspotTimes< SLOTS >::isInRange ( int  slotIndex,
int  hotspotIndex,
int  v 
) const
inline

Returns true if the given value is in the range specified by the min and max at the given hotspot and slot indexes


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