mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2024-12-30 07:37:16 +01:00
29 lines
398 B
C++
29 lines
398 B
C++
#ifndef PAINT_NODE_H
|
|
#define PAINT_NODE_H
|
|
|
|
#include "core/math/vector2i.h"
|
|
|
|
#include "scene/2d/node_2d.h"
|
|
|
|
class PaintProject;
|
|
|
|
class PaintNode : public Node2D {
|
|
GDCLASS(PaintNode, Node2D);
|
|
|
|
public:
|
|
Vector2i get_size();
|
|
void set_size(const Vector2i &size);
|
|
|
|
PaintProject *get_paint_project();
|
|
|
|
PaintNode();
|
|
~PaintNode();
|
|
|
|
protected:
|
|
static void _bind_methods();
|
|
|
|
Vector2i _size;
|
|
};
|
|
|
|
#endif
|