mirror of
https://github.com/godotengine/godot.git
synced 2024-12-03 09:52:18 +08:00
18 lines
284 B
C
18 lines
284 B
C
|
#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
|