The Battle for Wesnoth  1.19.5+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

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 303 of file builder.hpp.

Member Function Documentation

◆ operator->()

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

Definition at line 305 of file builder.hpp.

References ri.

◆ operator<()

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 310 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 316 of file builder.hpp.

◆ ri

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

Definition at line 315 of file builder.hpp.

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


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