Freeciv-3.2: qfc_units_list Class Reference

Freeciv-3.2

Loading...
Searching...
No Matches
Public Member Functions | Data Fields
qfc_units_list Class Reference

`#include <menu.h>`

## Public Member Functions

| qfc_units_list ()
void | add (qfc_delayed_unit_item *fui)
void | clear ()

## Data Fields

QList< qfc_delayed_unit_item * > | unit_list
int | nr_units

## Detailed Description

Definition at line 125 of file menu.h.

## Constructor & Destructor Documentation

## ◆ qfc_units_list()

qfc_units_list::qfc_units_list | ( |  | ) |

Constructor for units used in delayed orders

Definition at line 486 of file menu.cpp.

## Member Function Documentation

## ◆ add()

void qfc_units_list::add | ( | qfc_delayed_unit_item * | fui | ) |

Adds given unit to list

Definition at line 493 of file menu.cpp.

Referenced by mr_menu::slot_delayed_goto().

## ◆ clear()

void qfc_units_list::clear | ( |  | ) |

Clears list of units

Definition at line 501 of file menu.cpp.

Referenced by mr_menu::slot_execute_orders(), and mr_menu::slot_orders_clear().

## Field Documentation

## ◆ nr_units

int qfc_units_list::nr_units

Definition at line 132 of file menu.h.

Referenced by mr_menu::set_tile_for_order(), and mr_menu::slot_delayed_goto().

## ◆ unit_list

QList<qfc_delayed_unit_item*> qfc_units_list::unit_list

Definition at line 131 of file menu.h.

Referenced by add(), clear(), mr_menu::find_last_unit_pos(), mr_menu::set_tile_for_order(), and mr_menu::slot_execute_orders().