State design pattern on Dragon class.