I want to implement frog and boar enemy logic

https://dcimg7.dcinside.co.kr/viewimage.php?id=2abcdd23dad63db0&no=24b0d769e1d32ca73cea80fa11d02831bf7d547234ca7a60bd4070ad618597bd9dfc5e17ebccecd04878177b5a14b8586dc1659db91c0f9c2f7a59f1d52c60a91765

I want to make a frog mob and a boar mob logics.
Frog mob moves only by jumping, and do jump headbut attack.
Boar mob do charge attack. After the charge attack, the boar mob makes certain delay.
What kind functions do I have to look into to make those features?