mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 11:01:49 +00:00
minor refactor
This commit is contained in:
parent
252e9f0d19
commit
c8ca56fb8e
16 changed files with 51 additions and 30 deletions
|
|
@ -33,18 +33,7 @@ namespace scripting {
|
|||
extern BlocksController* blocks;
|
||||
extern LevelController* controller;
|
||||
|
||||
/// @brief Lua environment wrapper for automatic deletion
|
||||
class Environment {
|
||||
int env;
|
||||
public:
|
||||
Environment(int env);
|
||||
~Environment();
|
||||
|
||||
int getId() const;
|
||||
|
||||
// @brief Release namespace control
|
||||
void release();
|
||||
};
|
||||
class Environment;
|
||||
|
||||
void initialize(Engine* engine);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue