mirror of
				https://github.com/avatao-content/baseimage-tutorial-framework
				synced 2025-11-04 05:12:54 +00:00 
			
		
		
		
	Update readme with Python3 event handler info
This commit is contained in:
		@@ -47,6 +47,8 @@ Our pre-made event handlers are written in Python3, but you can write event hand
 | 
			
		||||
This makes the framework really flexible: you can demonstrate the concepts you want to in any language while using the same set of tools provided by TFW.
 | 
			
		||||
Inside Avatao this means that any of the content teams can use the framework with ease.
 | 
			
		||||
 | 
			
		||||
To implement an event handler in Python3 you should subclass the `EventHandlerBase` or `FSMAwareEventHandler` class in `tfw.event_handler_base` (the first provides a minimal working `EventHandler`, the second allows you to execute code on FSM events).
 | 
			
		||||
 | 
			
		||||
### FSM
 | 
			
		||||
 | 
			
		||||
Another unique feature of the framework is the FSM – finite state machine – representing the state of your challenge.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user