| 1 |
#pragma once |
| 2 |
|
| 3 |
#include "iscript.h" |
| 4 |
#include "iscriptinterface.h" |
| 5 |
|
| 6 |
namespace script |
| 7 |
{ |
| 8 |
|
| 9 |
/** |
| 10 |
* greebo: This class provides the script interface for the GlobalGrid module. |
| 11 |
*/ |
| 12 |
class GridInterface : |
| 13 |
public IScriptInterface |
| 14 |
{ |
| 15 |
public: |
| 16 |
// Wrapped methods |
| 17 |
void setGridSize(int gridSize); |
| 18 |
float getGridSize(); |
| 19 |
int getGridPower(); |
| 20 |
void gridDown(); |
| 21 |
void gridUp(); |
| 22 |
|
| 23 |
// IScriptInterface implementation |
| 24 |
void registerInterface(py::module& scope, py::dict& globals) override; |
| 25 |
}; |
| 26 |
|
| 27 |
} // namespace script |