The Battle for Wesnoth  1.13.10+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
aspect_advancements.hpp
Go to the documentation of this file.
1 /*
2  Copyright (C) 2013 - 2017 by Felix Bauer <fehlxb+wesnoth@gmail.com>
3  Part of the Battle for Wesnoth Project http://www.wesnoth.org/
4 
5  This program is free software; you can redistribute it and/or modify
6  it under the terms of the GNU General Public License as published by
7  the Free Software Foundation; either version 2 of the License, or
8  (at your option) any later version.
9  This program is distributed in the hope that it will be useful,
10  but WITHOUT ANY WARRANTY.
11 
12  See the COPYING file for more details.
13 */
14 
15 #ifndef UNIT_ADVANCEMENT_ACPECT_H_INCLUDED
16 #define UNIT_ADVANCEMENT_ACPECT_H_INCLUDED
17 
18 #include <string>
19 #include <vector>
20 
21 #include "units/map.hpp"
22 
23 struct lua_State;
24 
25 namespace ai {
26 
28 {
29 public:
33  const std::vector<std::string> get_advancements(const unit_map::const_iterator& unit) const;
34  virtual ~unit_advancements_aspect();
35  const std::string get_value() const;
36 
37 private:
40  int ref_;
41 };
42 }
43 
44 #endif
std::vector< char_t > string
This class represents a single unit of a specific type.
Definition: unit.hpp:101
A small explanation about what's going on here: Each action has access to two game_info objects First...
Definition: actions.cpp:58
const std::vector< std::string > get_advancements(const unit_map::const_iterator &unit) const
const std::string get_value() const
static map_location::DIRECTION n