pandemonium_engine/modules/paint/nodes/paint_node.h

31 lines
442 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();
String get_configuration_warning() const;
PaintNode();
~PaintNode();
protected:
static void _bind_methods();
Vector2i _size;
};
#endif