stateDiagram-v2
    [*] --> onLoading★
    
    onLoading★ --> onStart★ : creep就绪
    
    onStart★ --> onStep : 主循环
    
    onStep --> onDraw : DRAW=true
    onDraw --> onStep
    
    onStep --> onKilled : creep阵亡
    
    onKilled --> onStart★ : ONCE=False
    onKilled --> onStop★ : ONCE=True
    
    onStep --> onStop★ : 终止逻辑
    
    onStop★ --> [*]