pandemonium_engine/modules/paint/nodes/paint_node.h

29 lines
398 B
C++
Raw Normal View History

2022-11-14 23:27:26 +01:00
#ifndef PAINT_NODE_H
#define PAINT_NODE_H
#include "core/math/vector2i.h"
#include "scene/2d/node_2d.h"
class PaintProject;
2022-11-14 23:27:26 +01:00
class PaintNode : public Node2D {
GDCLASS(PaintNode, Node2D);
public:
Vector2i get_size();
void set_size(const Vector2i &size);
PaintProject *get_paint_project();
2022-11-14 23:27:26 +01:00
PaintNode();
~PaintNode();
protected:
static void _bind_methods();
Vector2i _size;
};
#endif