summaryrefslogtreecommitdiff
path: root/scene/2d/y_sort.h
blob: 6d04a67e424491ff69f95fbaa37e9d81f773be4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef Y_SORT_H
#define Y_SORT_H

#include "scene/2d/node_2d.h"

class YSort : public Node2D {
	OBJ_TYPE(YSort,Node2D);
	bool sort_enabled;
	static void _bind_methods();
public:

	void set_sort_enabled(bool p_enabled);
	bool is_sort_enabled() const;
	YSort();
};

#endif // Y_SORT_H