Added State Machine for enemy