mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Added RTileMap and RTileSet compatibility classes.
This commit is contained in:
parent
5123cf9837
commit
0de5f4ec86
@ -38,6 +38,11 @@ void register_tile_map_types() {
|
|||||||
|
|
||||||
ClassDB::register_class<TileMap>();
|
ClassDB::register_class<TileMap>();
|
||||||
ClassDB::register_class<TileSet>();
|
ClassDB::register_class<TileSet>();
|
||||||
|
|
||||||
|
#ifndef DISABLE_DEPRECATED
|
||||||
|
ClassDB::add_compatibility_class("RTileMap", "TileMap");
|
||||||
|
ClassDB::add_compatibility_class("RTileSet", "TileSet");
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void unregister_tile_map_types() {
|
void unregister_tile_map_types() {
|
||||||
|
Loading…
Reference in New Issue
Block a user