AngelScript based state for EngineWorks desgined for event-driven applications