self.contents.font.color = actor.hp == 0 ? 前面=代入的返回值 否则  actor.hp <= actor.maxhp / 4 ? 前面=代入的返回值 否则 前面=代入的返回值