The Battle for Wesnoth  1.13.4+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 - 2016 by Felix Bauer <[email protected]>
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
Definition: unit.hpp:95
GLuint const GLfloat * val
Definition: glew.h:2614
A small explanation about what's going on here: Each action has access to two game_info objects First...
Definition: actions.cpp:57
const std::vector< std::string > get_advancements(const unit_map::const_iterator &unit) const
GLclampd n
Definition: glew.h:5903
const std::string get_value() const
GLsizei const GLcharARB ** string
Definition: glew.h:4503