ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Bookmark resources are handles for a position on the floor field. More...

#include <bookmark.h>

Inheritance diagram for Stark::Resources::Bookmark:
Collaboration diagram for Stark::Resources::Bookmark:

List of all members.

Public Member Functions

 Bookmark (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~Bookmark ()
void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
Math::Vector3d getPosition () const
 Obtain the position.

Static Public Attributes

static const Type::ResourceType TYPE = Type::kBookmark

Protected Member Functions

void printData () override

Protected Attributes

Math::Vector3d _position

Detailed Description

Bookmark resources are handles for a position on the floor field.

The height value is not set, it needs to be retrieved by interpolation from the floor field.

Definition at line 45 of file bookmark.h.


Constructor & Destructor Documentation

Stark::Resources::Bookmark::Bookmark ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 38 of file bookmark.cpp.

Stark::Resources::Bookmark::~Bookmark (  )  [virtual]

Definition at line 35 of file bookmark.cpp.


Member Function Documentation

Math::Vector3d Stark::Resources::Bookmark::getPosition (  )  const

Obtain the position.

Definition at line 43 of file bookmark.cpp.

void Stark::Resources::Bookmark::printData (  )  [override, protected, virtual]

Reimplemented from Stark::Resources::Object.

Definition at line 60 of file bookmark.cpp.

void Stark::Resources::Bookmark::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Object.

Definition at line 54 of file bookmark.cpp.


Member Data Documentation

Definition at line 61 of file bookmark.h.

const Type::ResourceType Stark::Resources::Bookmark::TYPE = Type::kBookmark [static]

Definition at line 47 of file bookmark.h.


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


Generated on Sat Jan 19 2019 05:07:52 for ResidualVM by doxygen 1.7.1
curved edge   curved edge