public void UpdatingAIEventArgsConstructorTest() { IArtificialIntelligence artificialIntelligence = null; // TODO: 初始化为适当的值 WorldEntity gameEntity = null; // TODO: 初始化为适当的值 UpdatingAIEventArgs target = new UpdatingAIEventArgs( artificialIntelligence, gameEntity ); Assert.Inconclusive( "TODO: 实现用来验证目标的代码" ); }
public void NewAITest() { IArtificialIntelligence artificialIntelligence = null; // TODO: 初始化为适当的值 WorldEntity gameEntity = null; // TODO: 初始化为适当的值 UpdatingAIEventArgs target = new UpdatingAIEventArgs( artificialIntelligence, gameEntity ); // TODO: 初始化为适当的值 IArtificialIntelligence actual; actual = target.NewAI; Assert.Inconclusive( "验证此测试方法的正确性。" ); }
/// <summary> /// /// </summary> internal void OnUpdatingAI(IArtificialIntelligence artificialIntelligence, WorldEntity gameEntity) { EventHandler <UpdatingAIEventArgs> tempBeforeEventArgs = m_EventUpdatingAI; if (tempBeforeEventArgs != null) { UpdatingAIEventArgs eventArgs = new UpdatingAIEventArgs(artificialIntelligence, gameEntity); tempBeforeEventArgs(this, eventArgs); } }
/// <summary> /// /// </summary> internal void OnUpdatingAI( IArtificialIntelligence artificialIntelligence, WorldEntity gameEntity ) { EventHandler<UpdatingAIEventArgs> tempBeforeEventArgs = m_EventUpdatingAI; if ( tempBeforeEventArgs != null ) { UpdatingAIEventArgs eventArgs = new UpdatingAIEventArgs( artificialIntelligence, gameEntity ); tempBeforeEventArgs( this, eventArgs ); } }