Implements calling Lua.

This commit is contained in:
2021-08-25 12:27:39 +09:00
parent 1518e429b4
commit 213902021c
46 changed files with 2233 additions and 245 deletions

28
src/iElement.h Normal file
View File

@@ -0,0 +1,28 @@
#pragma once
#include "Frame.h"
#include "Period.h"
namespace gj {
class iElement {
public:
iElement(iElement&&) = default;
iElement(const iElement&) = default;
iElement& operator=(iElement&&) = default;
iElement& operator=(const iElement&) = default;
iElement() = default;
virtual ~iElement() = default;
virtual void Update(Frame& f) = 0;
/* Interfaces had better not have a variable but this is for optimization. */
const Period period;
};
}