The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Public Attributes | List of all members
terrain_movement Struct Reference

#include <movement.hpp>

Public Member Functions

 terrain_movement (const t_string &name_, int moves_)
 
bool operator< (const terrain_movement &other) const
 

Public Attributes

const t_stringname
 
int moves
 

Detailed Description

Definition at line 21 of file movement.hpp.

Constructor & Destructor Documentation

◆ terrain_movement()

terrain_movement::terrain_movement ( const t_string name_,
int  moves_ 
)
inline

Definition at line 26 of file movement.hpp.

Member Function Documentation

◆ operator<()

bool terrain_movement::operator< ( const terrain_movement other) const
inline

Definition at line 30 of file movement.hpp.

References translation::icompare(), and name.

Member Data Documentation

◆ moves

int terrain_movement::moves

Definition at line 24 of file movement.hpp.

◆ name

const t_string& terrain_movement::name

Definition at line 23 of file movement.hpp.

Referenced by operator<().


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