mirror of
https://github.com/Relintai/entity_spell_system.git
synced 2025-04-19 21:33:15 +02:00
Bag is now a resource.
This commit is contained in:
parent
a3f5c4ffbe
commit
6d65814169
@ -23,7 +23,7 @@ SOFTWARE.
|
||||
#ifndef BAG_H
|
||||
#define BAG_H
|
||||
|
||||
#include "core/reference.h"
|
||||
#include "core/resource.h"
|
||||
#include "core/vector.h"
|
||||
|
||||
#include "../item_enums.h"
|
||||
@ -31,8 +31,8 @@ SOFTWARE.
|
||||
class ItemTemplate;
|
||||
class ItemInstance;
|
||||
|
||||
class Bag : public Reference {
|
||||
GDCLASS(Bag, Reference);
|
||||
class Bag : public Resource {
|
||||
GDCLASS(Bag, Resource);
|
||||
|
||||
public:
|
||||
int get_allowed_item_types() const;
|
||||
|
Loading…
Reference in New Issue
Block a user