mirror of
https://github.com/love2d/love.git
synced 2026-08-12 16:40:57 +02:00
Modules now reside in Lua and are treated (almost) like normal objects.
Also added a way of getting a pointer to abstract module instances internally.
This commit is contained in:
+2
-3
@@ -24,15 +24,14 @@
|
||||
// LOVE
|
||||
#include "runtime.h"
|
||||
#include "Exception.h"
|
||||
#include "Object.h"
|
||||
|
||||
namespace love
|
||||
{
|
||||
/**
|
||||
* Abstract superclass for all modules.
|
||||
*
|
||||
* @author Anders Ruud
|
||||
**/
|
||||
class Module
|
||||
class Module : public Object
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user