ScummVM API documentation
Ultima::Ultima1::QuestFlag Class Reference

#include <quests.h>

Public Member Functions

 QuestFlag ()
 
 QuestFlag (Ultima1Game *game)
 
void synchronize (Common::Serializer &s)
 
bool isUnstarted () const
 
bool isInProgress () const
 
bool isComplete () const
 
void start ()
 
void complete ()
 

Detailed Description

Quest entry

Constructor & Destructor Documentation

◆ QuestFlag() [1/2]

Ultima::Ultima1::QuestFlag::QuestFlag ( )
inline

Constructor

◆ QuestFlag() [2/2]

Ultima::Ultima1::QuestFlag::QuestFlag ( Ultima1Game game)
inline

Constructor

Member Function Documentation

◆ synchronize()

void Ultima::Ultima1::QuestFlag::synchronize ( Common::Serializer s)

Synchronize the data for a single flag

◆ isUnstarted()

bool Ultima::Ultima1::QuestFlag::isUnstarted ( ) const
inline

Returns true if the quest is unstarted

◆ isInProgress()

bool Ultima::Ultima1::QuestFlag::isInProgress ( ) const
inline

Returns true if the quest is in progress

◆ isComplete()

bool Ultima::Ultima1::QuestFlag::isComplete ( ) const
inline

Called when a quest is completed

◆ start()

void Ultima::Ultima1::QuestFlag::start ( )

Mark a quest as in progress

◆ complete()

void Ultima::Ultima1::QuestFlag::complete ( )

Complete an in-progress quest


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