コード例 #1
0
 public void CreatureEnteredMapEventArgsConstructorTest()
 {
     BaseCreature creature = null; // TODO: 初始化为适当的值
     BaseMap map = null; // TODO: 初始化为适当的值
     CreatureEnteredMapEventArgs target = new CreatureEnteredMapEventArgs( creature, map );
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }
コード例 #2
0
        public void CreatureEnteredMapEventArgsConstructorTest()
        {
            BaseCreature creature = null; // TODO: 初始化为适当的值
            BaseMap      map      = null; // TODO: 初始化为适当的值
            CreatureEnteredMapEventArgs target = new CreatureEnteredMapEventArgs(creature, map);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
コード例 #3
0
 public void CreatureTest()
 {
     BaseCreature creature = null; // TODO: 初始化为适当的值
     BaseMap map = null; // TODO: 初始化为适当的值
     CreatureEnteredMapEventArgs target = new CreatureEnteredMapEventArgs( creature, map ); // TODO: 初始化为适当的值
     BaseCreature actual;
     actual = target.Creature;
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
コード例 #4
0
        /// <summary>
        ///
        /// </summary>
        internal void OnEnteredMap(BaseCreature creature, BaseMap map)
        {
            EventHandler <CreatureEnteredMapEventArgs> tempAfterEventArgs = m_EventCreatureEnteredMap;

            if (tempAfterEventArgs != null)
            {
                CreatureEnteredMapEventArgs eventArgs = new CreatureEnteredMapEventArgs(creature, map);
                tempAfterEventArgs(this, eventArgs);
            }
        }
コード例 #5
0
        public void CreatureTest()
        {
            BaseCreature creature = null;                                                        // TODO: 初始化为适当的值
            BaseMap      map      = null;                                                        // TODO: 初始化为适当的值
            CreatureEnteredMapEventArgs target = new CreatureEnteredMapEventArgs(creature, map); // TODO: 初始化为适当的值
            BaseCreature actual;

            actual = target.Creature;
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
コード例 #6
0
 /// <summary>
 /// 
 /// </summary>
 internal void OnEnteredMap( BaseCreature creature, BaseMap map )
 {
     EventHandler<CreatureEnteredMapEventArgs> tempAfterEventArgs = m_EventCreatureEnteredMap;
     if ( tempAfterEventArgs != null )
     {
         CreatureEnteredMapEventArgs eventArgs = new CreatureEnteredMapEventArgs( creature, map );
         tempAfterEventArgs( this, eventArgs );
     }
 }