mirror of
https://github.com/Relintai/rcpp_framework.git
synced 2025-02-20 15:14:26 +01:00
Added a new Resource class. Similar idea as in godot, but this will work differently.
This commit is contained in:
parent
f897b42b37
commit
584cff535f
9
core/resource.cpp
Normal file
9
core/resource.cpp
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#include "resource.h"
|
||||||
|
|
||||||
|
Resource::Resource() {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
Resource::~Resource() {
|
||||||
|
|
||||||
|
}
|
18
core/resource.h
Normal file
18
core/resource.h
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#ifndef RESOURCE_H
|
||||||
|
#define RESOURCE_H
|
||||||
|
|
||||||
|
#include "reference.h"
|
||||||
|
|
||||||
|
class Resource : public Reference {
|
||||||
|
RCPP_OBJECT(Resource, Reference);
|
||||||
|
|
||||||
|
public:
|
||||||
|
|
||||||
|
Resource();
|
||||||
|
~Resource();
|
||||||
|
|
||||||
|
private:
|
||||||
|
};
|
||||||
|
|
||||||
|
|
||||||
|
#endif
|
Loading…
Reference in New Issue
Block a user