The Battle for Wesnoth  1.19.0+dev
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 344 of file builder.hpp.

Constructor & Destructor Documentation

◆ rule_image_rand()

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

Definition at line 346 of file builder.hpp.

Member Function Documentation

◆ operator->()

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

Definition at line 352 of file builder.hpp.

References ri.

◆ operator<()

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

sort by layer first then by basey

Definition at line 357 of file builder.hpp.

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

Member Data Documentation

◆ rand

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

Definition at line 363 of file builder.hpp.

◆ ri

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

Definition at line 362 of file builder.hpp.

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

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