Spawning & drawing entities from Python API
This commit is contained in:
parent
87483cc8ad
commit
6875cb5fe1
10 changed files with 176 additions and 8 deletions
13
src/Item.h
Normal file
13
src/Item.h
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
#pragma once
|
||||
#include "Common.h"
|
||||
#include "Components.h"
|
||||
#include "Python.h"
|
||||
|
||||
class Item
|
||||
{
|
||||
public:
|
||||
bool stackable;
|
||||
static int next_id;
|
||||
std::string name;
|
||||
PyObject* object;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue