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