xyginext  0.2.0
Second generation of xygine game creation framework
Public Attributes | List of all members
xy::Command Struct Referencefinal

Command struct. Each command encapsulates a mask of target IDs as well as a command in the form of a std::function. More...

#include <CommandSystem.hpp>

Public Attributes

sf::Uint32 targetFlags = 0
 
std::function< void(Entity, float)> action
 

Detailed Description

Command struct. Each command encapsulates a mask of target IDs as well as a command in the form of a std::function.