MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / Entity

Method Entity

samples/factory.cpp:14–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12 std::function<void (Entity &)> updater;
13
14 Entity(const int t_width, const int t_height, const int t_x, const int t_y, std::string t_name)
15 : width(t_width), height(t_height), x(t_x), y(t_y), name(std::move(t_name))
16 {
17 }
18};
19
20class Factory

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected