@startuml PlayerLogic state "PlayerLogic State" as Zennysoft_Game_Ma_PlayerLogic_State { state "Alive" as Zennysoft_Game_Ma_PlayerLogic_State_Alive { state "Attacking" as Zennysoft_Game_Ma_PlayerLogic_State_Attacking state "Idle" as Zennysoft_Game_Ma_PlayerLogic_State_Idle } state "Dead" as Zennysoft_Game_Ma_PlayerLogic_State_Dead state "Disabled" as Zennysoft_Game_Ma_PlayerLogic_State_Disabled } Zennysoft_Game_Ma_PlayerLogic_State_Alive --> Zennysoft_Game_Ma_PlayerLogic_State_Alive : PhysicsTick Zennysoft_Game_Ma_PlayerLogic_State_Alive --> Zennysoft_Game_Ma_PlayerLogic_State_Dead : Killed Zennysoft_Game_Ma_PlayerLogic_State_Attacking --> Zennysoft_Game_Ma_PlayerLogic_State_Idle : AttackAnimationFinished Zennysoft_Game_Ma_PlayerLogic_State_Disabled --> Zennysoft_Game_Ma_PlayerLogic_State_Idle : Enable Zennysoft_Game_Ma_PlayerLogic_State_Idle --> Zennysoft_Game_Ma_PlayerLogic_State_Attacking : Attack Zennysoft_Game_Ma_PlayerLogic_State_Idle : OnAttack → Attack [*] --> Zennysoft_Game_Ma_PlayerLogic_State_Idle @enduml