Brunot
Loading...
Searching...
No Matches
PublicLambdas.h
Go to the documentation of this file.
1
11// ____ __ __ __
12// /\__ _\/\ \ /\ \/\ \
13// \/_/\ \/\ \ \___ __ \ \ \_\ \ ___ __ __ ____ __
14// \ \ \ \ \ _ `\ /'__`\ \ \ _ \ / __`\/\ \/\ \ /',__\ /'__`\
15// \ \ \ \ \ \ \ \/\ __/ \ \ \ \ \/\ \L\ \ \ \_\ \/\__, `\/\ __/
16// \ \_\ \ \_\ \_\ \____\ \ \_\ \_\ \____/\ \____/\/\____/\ \____\
17// \/_/ \/_/\/_/\/____/ \/_/\/_/\/___/ \/___/ \/___/ \/____/
18
19
20#pragma once
21#include <functional>
22#include <string>
23
24class Entity;
25
26
32auto getButtonLambda(const std::string& lambdaName) -> std::function<void(Entity*)>;
auto getButtonLambda(const std::string &lambdaName) -> std::function< void(Entity *)>
Goes into an unordered map of lambdas and gets a lambda based on the name of the stored lambdas.
Definition PublicLambdas.cpp:220
Definition Entity.h:33