mirror of
https://github.com/love2d/love.git
synced 2026-08-17 19:23:38 +02:00
Data:clone ported to minor
minor tweaks --HG-- branch : minor
This commit is contained in:
@@ -45,6 +45,10 @@ public:
|
||||
**/
|
||||
virtual ~Data() {}
|
||||
|
||||
/**
|
||||
* Creates a duplicate of Data derived class instance.
|
||||
**/
|
||||
virtual Data *clone() const = 0;
|
||||
/**
|
||||
* Gets a pointer to the data. This pointer will obviously not
|
||||
* be valid if the Data object is destroyed.
|
||||
|
||||
Reference in New Issue
Block a user