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

A floor field represents a portion of the floor in a 3D layer. More...

#include <floorfield.h>

Inheritance diagram for Stark::Resources::FloorField:
Collaboration diagram for Stark::Resources::FloorField:

List of all members.

Public Member Functions

 FloorField (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~FloorField ()
bool hasFace (int32 floorFaceIndex) const
 Is the specified face inside the floorfield?

Static Public Attributes

static const Type::ResourceType TYPE = Type::kFloorField

Protected Member Functions

void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
void printData () override

Private Attributes

Common::Array< byte_facesInFloorField

Detailed Description

A floor field represents a portion of the floor in a 3D layer.

A floor field is bounded by the faces it contains

Definition at line 43 of file floorfield.h.


Constructor & Destructor Documentation

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

Definition at line 33 of file floorfield.cpp.

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

Definition at line 30 of file floorfield.cpp.


Member Function Documentation

bool Stark::Resources::FloorField::hasFace ( int32  floorFaceIndex  )  const

Is the specified face inside the floorfield?

Definition at line 45 of file floorfield.cpp.

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

Reimplemented from Stark::Resources::Object.

Definition at line 53 of file floorfield.cpp.

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

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Object.

Definition at line 38 of file floorfield.cpp.


Member Data Documentation

const Type::ResourceType Stark::Resources::FloorField::TYPE = Type::kFloorField [static]

Definition at line 45 of file floorfield.h.


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


Generated on Sat May 18 2019 05:07:30 for ResidualVM by doxygen 1.7.1
curved edge   curved edge