Module: Yuki::WorldMapEditor
- Defined in:
- scripts/01100 Yuki/01200 Yuki__WorldMapEditor.rb
Overview
Module that helps the user to edit his worldmap
Class Method Summary collapse
-
.add_worldmap(image, name_id, file_id = nil)
Add a new world map and select it.
-
.clear_map
Clear the map.
-
.delete_worldmap(id)
Delete world map.
-
.init
Init the editor.
-
.init_sprites
Create the sprites.
-
.list_worldmap(name = '')
Display all worldmaps.
-
.list_zone(name = '')
List the zone.
-
.main
Main function.
-
.remove_zone
Remove the zone.
-
.save
Save the world map.
-
.select_worldmap(id)
Select a world map.
-
.select_zone(id)
Select a zone.
-
.set_worldmap_image(id, new_image)
Change the worldmap image to the given one.
-
.set_worldmap_name(id, name_id, file_id = nil)
Change the worldmap name to the given name text id in the given file id (by default in the ruby host).
-
.show_help
Affiche l'aide.
-
.update
Update the scene.
-
.update_infobox
Update the infobox.
-
.update_origin(worldmap)
Update the origin x/y.
-
.update_zone
Update the current zone.
Class Method Details
.add_worldmap(image, name_id, file_id = nil)
Add a new world map and select it
.clear_map
Clear the map
.delete_worldmap(id)
Delete world map
.init
Init the editor
.init_sprites
Create the sprites
.list_worldmap(name = '')
Display all worldmaps
.list_zone(name = '')
List the zone
.main
Main function
.remove_zone
Remove the zone
.save
Save the world map
.select_worldmap(id)
Select a world map
.select_zone(id)
Select a zone
.set_worldmap_image(id, new_image)
Change the worldmap image to the given one
.set_worldmap_name(id, name_id, file_id = nil)
Change the worldmap name to the given name text id in the given file id (by default in the ruby host)
.show_help
Affiche l'aide
.update
Update the scene
.update_infobox
Update the infobox
.update_origin(worldmap)
Update the origin x/y
.update_zone
Update the current zone