Module: Util::Warp
- Defined in:
- docs/4_Systems_003_Map_Engine.rb
Overview
Module that hold a warping function
Class Method Summary collapse
-
.find_event_from(map_id, name_or_id) ⇒ Array<Integer>
Find the event coordinate in another map.
-
.setup_transition(type)
Define the transition for the warping process.
-
.to(map_id, name_or_id, transition_type = 0, offset_x: 0, offset_y: 1, direction: 0)
Warp to an event of another map (below by default).
-
.warp(map_id, x_pos, y_pos, direction)
Warp to the specified coordinate.
Class Method Details
.find_event_from(map_id, name_or_id) ⇒ Array<Integer>
Find the event coordinate in another map
153 154 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 153 def find_event_from(map_id, name_or_id) end |
.setup_transition(type)
Define the transition for the warping process
140 141 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 140 def setup_transition(type) end |
.to(map_id, name_or_id, transition_type = 0, offset_x: 0, offset_y: 1, direction: 0)
Warp to an event of another map (below by default)
136 137 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 136 def to(map_id, name_or_id, transition_type = 0, offset_x: 0, offset_y: 1, direction: 0) end |
.warp(map_id, x_pos, y_pos, direction)
Warp to the specified coordinate
147 148 |
# File 'docs/4_Systems_003_Map_Engine.rb', line 147 def warp(map_id, x_pos, y_pos, direction) end |