Apply the new ground_level method.
[crawl.git] / crawl-ref / source / tilereg-mon.h
blob2dc438b7ba966222a4bc33f71f2a774964e08941
1 /*
2 * File: tilereg-mon.h
3 */
5 #ifdef USE_TILE
6 #ifndef TILEREG_MON_H
7 #define TILEREG_MON_H
9 #include "mon-info.h"
10 #include "tilereg-grid.h"
12 class MonsterRegion : public GridRegion
14 public:
15 MonsterRegion(const TileRegionInit &init);
17 virtual void update();
18 virtual int handle_mouse(MouseEvent &event);
19 virtual bool update_tip_text(std::string &tip);
20 virtual bool update_tab_tip_text(std::string &tip, bool active);
21 virtual bool update_alt_text(std::string &alt);
23 virtual const std::string name() const { return "Monsters"; }
25 protected:
26 const monster* get_monster(unsigned int idx) const;
28 virtual void pack_buffers();
29 virtual void draw_tag();
30 virtual void activate();
32 std::vector<monster_info> m_mon_info;
35 #endif
36 #endif