Game of Ur 0.3.3
This is a computer adaptation of Game of Ur, written in C++ mainly using SDL and OpenGL.
Loading...
Searching...
No Matches
ur_ui_version.hpp
Go to the documentation of this file.
1
11
12#ifndef ZOAPPUIVERSIONTEXT_H
13#define ZOAPPUIVERSIONTEXT_H
14
15#include "toymaker/sim_system.hpp"
16
22class UrUIVersion: public ToyMaker::SimObjectAspect<UrUIVersion> {
23public:
24 UrUIVersion(): SimObjectAspect<UrUIVersion>{0} {}
25 inline static std::string getSimObjectAspectTypeName() { return "UrUIVersion"; }
26 static std::shared_ptr<BaseSimObjectAspect> create(const nlohmann::json& jsonAspectProperties);
27 std::shared_ptr<BaseSimObjectAspect> clone() const override;
28
29 void onActivated() override;
30private:
31};
32
33
34#endif
An object containing closely related methods and data, and exposing object lifecycle and application ...
Definition sim_system.hpp:956
void onActivated() override
Callback for when the aspect is activated (after it is attached to an active SimObject,...
Definition ur_ui_version.cpp:18
std::shared_ptr< BaseSimObjectAspect > clone() const override
A method which must be overridden to specify how a new aspect should be constructed as a copy of this...
Definition ur_ui_version.cpp:14