internal bool DoneHitting() { bool flag; if (m_effectResults != null) { flag = m_effectResults.DoneHitting(); } else if (m_barrierResults != null) { flag = m_barrierResults.DoneHitting(); } else if (m_powerupResults != null) { flag = m_powerupResults.DoneHitting(); } else if (m_gameModeResults != null) { flag = m_gameModeResults.DoneHitting(); } else { Log.Print(LogType.Error, "ClientMovementResults has neither effect results nor barrier results nor powerup results. Assuming it's done hitting..."); flag = true; } return(flag); }
public bool ReactionHitsDone() { if (PlayedReaction()) { return(m_effectResults.DoneHitting()); } return(false); }