The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
terrain_builder::tile::rule_image_rand Struct Reference

Represent a rule_image applied with a random seed. More...

#include <builder.hpp>

Public Member Functions

 rule_image_rand (const rule_image *r_i, unsigned int rnd)
 
const rule_imageoperator-> () const
 
bool operator< (const rule_image_rand &o) const
 sort by layer first then by basey More...
 

Public Attributes

const rule_imageri
 
unsigned int rand
 

Detailed Description

Represent a rule_image applied with a random seed.

Definition at line 314 of file builder.hpp.

Constructor & Destructor Documentation

terrain_builder::tile::rule_image_rand::rule_image_rand ( const rule_image r_i,
unsigned int  rnd 
)
inline

Definition at line 315 of file builder.hpp.

Member Function Documentation

const rule_image* terrain_builder::tile::rule_image_rand::operator-> ( ) const
inline

Definition at line 317 of file builder.hpp.

References ri.

bool terrain_builder::tile::rule_image_rand::operator< ( const rule_image_rand o) const
inline

sort by layer first then by basey

Definition at line 319 of file builder.hpp.

References terrain_builder::rule_image::basey, terrain_builder::rule_image::layer, and ri.

Member Data Documentation

unsigned int terrain_builder::tile::rule_image_rand::rand

Definition at line 324 of file builder.hpp.

const rule_image* terrain_builder::tile::rule_image_rand::ri

Definition at line 323 of file builder.hpp.

Referenced by operator->(), and operator<().


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