15 #ifndef INCL_FAKE_UNIT_MGR_HPP_
16 #define INCL_FAKE_UNIT_MGR_HPP_
37 typedef std::deque<internal_ptr_type>::const_iterator
iterator;
Manages a list of fake units for the display object.
fake_unit_manager(display &disp)
Construct a fake unit manager from a display which owns it.
std::deque< internal_ptr_type >::const_iterator iterator
int remove_temporary_unit(internal_ptr_type)
Deregister a unit from this manager.
std::deque< internal_ptr_type > fake_units_
collection of units destined to be drawn but not put into the unit map
unit const * internal_ptr_type
display & my_display_
Reference to my display. The display owns me in a scoped_ptr, so this should never be a dangling refe...
void place_temporary_unit(internal_ptr_type)
Register a unit with this manager.
const_iterator begin() const
const_iterator end() const
Holds a temporary unit that can be drawn on the map without being placed in the unit_map.
std::deque< internal_ptr_type >::const_iterator const_iterator