public void CharacterEnterSpaceNodeEventArgsConstructorTest() { BaseCharacter character = null; // TODO: 初始化为适当的值 MapSpaceNode mapSpaceNode = null; // TODO: 初始化为适当的值 CharacterEnterSpaceNodeEventArgs target = new CharacterEnterSpaceNodeEventArgs( character, mapSpaceNode ); Assert.Inconclusive( "TODO: 实现用来验证目标的代码" ); }
public void CharacterEnterSpaceNodeEventArgsConstructorTest() { BaseCharacter character = null; // TODO: 初始化为适当的值 MapSpaceNode mapSpaceNode = null; // TODO: 初始化为适当的值 CharacterEnterSpaceNodeEventArgs target = new CharacterEnterSpaceNodeEventArgs(character, mapSpaceNode); Assert.Inconclusive("TODO: 实现用来验证目标的代码"); }
public void CharacterTest() { BaseCharacter character = null; // TODO: 初始化为适当的值 MapSpaceNode mapSpaceNode = null; // TODO: 初始化为适当的值 CharacterEnterSpaceNodeEventArgs target = new CharacterEnterSpaceNodeEventArgs( character, mapSpaceNode ); // TODO: 初始化为适当的值 BaseCharacter actual; actual = target.Character; Assert.Inconclusive( "验证此测试方法的正确性。" ); }
public void CharacterTest() { BaseCharacter character = null; // TODO: 初始化为适当的值 MapSpaceNode mapSpaceNode = null; // TODO: 初始化为适当的值 CharacterEnterSpaceNodeEventArgs target = new CharacterEnterSpaceNodeEventArgs(character, mapSpaceNode); // TODO: 初始化为适当的值 BaseCharacter actual; actual = target.Character; Assert.Inconclusive("验证此测试方法的正确性。"); }
/// <summary> /// /// </summary> internal void OnEnteredMapSpaceNode(BaseCharacter character, MapSpaceNode mapSpaceNode) { EventHandler <CharacterEnterSpaceNodeEventArgs> tempEventArgs = m_EventCharacterEnteredSpaceNode; if (tempEventArgs != null) { CharacterEnterSpaceNodeEventArgs eventArgs = new CharacterEnterSpaceNodeEventArgs(character, mapSpaceNode); tempEventArgs(this, eventArgs); } }