All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
C4DensityProvider Class Reference

#include <C4Shape.h>

Inheritance diagram for C4DensityProvider:

Public Member Functions

virtual int32_t GetDensity (int32_t x, int32_t y) const
virtual ~C4DensityProvider ()

Detailed Description

Definition at line 29 of file C4Shape.h.

Constructor & Destructor Documentation

virtual C4DensityProvider::~C4DensityProvider ( )

Definition at line 33 of file C4Shape.h.

33 {}

Member Function Documentation

int32_t C4DensityProvider::GetDensity ( int32_t  x,
int32_t  y 
) const

Reimplemented in C4SolidMask::DensityProvider.

Definition at line 485 of file C4Shape.cpp.

References GBackDensity().

486 {
487  // default density provider checks the landscape
488  return GBackDensity(x,y);
489 }
int32_t GBackDensity(int32_t x, int32_t y)
Definition: C4Landscape.h:227

Here is the call graph for this function:

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