We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ce0f1a9 commit 29133d5Copy full SHA for 29133d5
Specs.pod
@@ -172,4 +172,13 @@ controller and initialize it, using any additional argument in the
172
"new" call. It then sets the name of the state and the active
173
controller.
174
175
+=head3 Methods called in the controller
176
+
177
+There is no strong type checking in the application, so the only
178
+requirement made by the application is that the controller support
179
+"new", "activate" and "deactivate". When the game transits to a new
180
+state it will call "new" on the controller of the target state, call
181
+"deactivate" in the controller being decomissioned and "activate" in
182
+the new controller object.
183
184
=cut
0 commit comments