pandemonium_engine_minimal/scene/2d/y_sort.h

21 lines
364 B
C++
Raw Permalink Normal View History

2023-12-14 21:54:22 +01:00
#ifndef Y_SORT_H
#define Y_SORT_H
2023-12-14 21:54:22 +01:00
/* y_sort.h */
2023-12-14 21:54:22 +01:00
#include "scene/main/node_2d.h"
class YSort : public Node2D {
GDCLASS(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