ohzi-core 6.2.4 → 6.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ohzi-core",
3
- "version": "6.2.4",
3
+ "version": "6.3.0",
4
4
  "description": "OHZI Core Library",
5
5
  "source": "src/index.js",
6
6
  "module": "build/index.module.js",
@@ -165,6 +165,11 @@ export default class ActionSequencer
165
165
  return keyframe.interpolator.evaluate(TMath.clamp(this.tmp_t, 0, 1));
166
166
  }
167
167
 
168
+ get_keyframes(channel_name)
169
+ {
170
+ return this.channels[channel_name];
171
+ }
172
+
168
173
  __linear_map_01(value,
169
174
  from_range_start_value,
170
175
  from_range_end_value)
@@ -28,9 +28,10 @@ export default class ViewStateTransitionHandler
28
28
 
29
29
  this.last_state.before_exit();
30
30
  this.current_state.show();
31
- this.current_state.before_enter();
32
31
 
33
32
  this.action_sequencer = this.transition_table.get(this.current_state.name, this.current_state_data);
33
+ this.current_state.before_enter();
34
+
34
35
  this.action_sequencer.play();
35
36
 
36
37
  this.transitioning = true;