void Attack(CurseStr curentStr) { if (snake != null && snake.GetIsGazeIn() == true) { snake.GetDamage(GetRightDamageByCurse(curentStr)); } else if (fox != null && fox.GetIsGazeIn() == true) { if (fox.state == Fox.State.WALK) { fox.GetDamage(GetRightDamageByCurse(curentStr)); } } else if ("Spider".Equals("")) { //spider.GetDamage(GetRightDamageByCurse(curentStr)); } }