iLand
Public Member Functions | Public Attributes | List of all members
SaplingTreeOld Class Reference

SaplingTreeOld holds information of a sapling (which represents N trees). Emphasis is on efficient storage. More...

#include <sapling.h>

Public Member Functions

 SaplingTreeOld ()
 
bool isValid () const
 
QPoint coords () const
 

Public Attributes

float * pixel
 
struct {
   short unsigned int   age
 
   short unsigned int   stress_years
 
age
 
float height
 

Detailed Description

SaplingTreeOld holds information of a sapling (which represents N trees). Emphasis is on efficient storage.

Constructor & Destructor Documentation

◆ SaplingTreeOld()

SaplingTreeOld::SaplingTreeOld ( )
inline

Member Function Documentation

◆ coords()

QPoint SaplingTreeOld::coords ( ) const
inline

◆ isValid()

bool SaplingTreeOld::isValid ( ) const
inline

Member Data Documentation

◆ age [1/2]

short unsigned int SaplingTreeOld::age

◆  [2/2]

struct { ... } SaplingTreeOld::age

◆ height

float SaplingTreeOld::height

◆ pixel

float* SaplingTreeOld::pixel

◆ stress_years

short unsigned int SaplingTreeOld::stress_years

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