+ def parsed_settings
+ @template_settings ||= JSON.parse(self.settings)
+ end
+
+ def engine_name
+ Pettanr::Application.speech_balloons[self.classname]
+ end
+
+ def engine_module_name
+ self.engine_name.camelize
+ end
+
+ def engine
+ Object.const_get self.engine_module_name
+ end
+
+ def engine_speech_balloon_model
+ engine.const_get 'SpeechBalloon'
+ end
+
+ def engine_speech_balloon_module
+ engine.const_get 'SpeechBalloonModule'
+ end
+
+ def engine_balloon_model
+ engine.const_get 'Balloon'
+ end
+
+ def engine_balloon_module
+ engine.const_get 'BalloonModule'
+ end
+
+ def engine_speech_model
+ engine.const_get 'Speech'
+ end
+
+ def engine_speech_module
+ engine.const_get 'SpeechModule'
+ end
+