The Battle for Wesnoth  1.17.0-dev
Classes | Namespaces
lua_object.hpp File Reference

Lua object(value) wrapper implementation. More...

#include "config.hpp"
#include "lua/lua.h"
#include "map/location.hpp"
#include "resources.hpp"
#include "scripting/lua_common.hpp"
#include "terrain/filter.hpp"
#include "variable.hpp"
#include "ai/default/contexts.hpp"
#include "ai/lua/aspect_advancements.hpp"
#include <iterator>
#include <string>
#include <vector>
Include dependency graph for lua_object.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  ai::lua_object_base
class  ai::lua_object< T >


 A small explanation about what's going on here: Each action has access to two game_info objects First is 'info' - real information Second is 'subjective info' - AIs perception of what's going on So, when we check_before action, we use 'subjective info' and don't touch real 'info' at all.

Detailed Description

Lua object(value) wrapper implementation.

Definition in file lua_object.hpp.