Пример #1
0
        public void WorldEntityMovedInMapEventArgsConstructorTest()
        {
            Point3D     oldLocation = new Point3D(); // TODO: 初始化为适当的值
            WorldEntity entity      = null;          // TODO: 初始化为适当的值
            BaseMap     map         = null;          // TODO: 初始化为适当的值
            WorldEntityMovedInMapEventArgs target = new WorldEntityMovedInMapEventArgs(oldLocation, entity, map);

            Assert.Inconclusive("TODO: 实现用来验证目标的代码");
        }
Пример #2
0
        /// <summary>
        ///
        /// </summary>
        internal void OnMoved(Point3D oldLocation, WorldEntity worldEntity, BaseMap map)
        {
            EventHandler <WorldEntityMovedInMapEventArgs> tempAfterEventArgs = m_EventWorldEntityMovedInMap;

            if (tempAfterEventArgs != null)
            {
                WorldEntityMovedInMapEventArgs eventArgs = new WorldEntityMovedInMapEventArgs(oldLocation, worldEntity, map);
                tempAfterEventArgs(this, eventArgs);
            }
        }
 public void GameEntityTest()
 {
     Point3D oldLocation = new Point3D(); // TODO: 初始化为适当的值
     WorldEntity entity = null; // TODO: 初始化为适当的值
     BaseMap map = null; // TODO: 初始化为适当的值
     WorldEntityMovedInMapEventArgs target = new WorldEntityMovedInMapEventArgs( oldLocation, entity, map ); // TODO: 初始化为适当的值
     WorldEntity actual;
     actual = target.GameEntity;
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
Пример #4
0
        public void GameEntityTest()
        {
            Point3D     oldLocation = new Point3D();                                                              // TODO: 初始化为适当的值
            WorldEntity entity      = null;                                                                       // TODO: 初始化为适当的值
            BaseMap     map         = null;                                                                       // TODO: 初始化为适当的值
            WorldEntityMovedInMapEventArgs target = new WorldEntityMovedInMapEventArgs(oldLocation, entity, map); // TODO: 初始化为适当的值
            WorldEntity actual;

            actual = target.GameEntity;
            Assert.Inconclusive("验证此测试方法的正确性。");
        }
Пример #5
0
 /// <summary>
 /// 
 /// </summary>
 internal void OnMoved( Point3D oldLocation, WorldEntity worldEntity, BaseMap map )
 {
     EventHandler<WorldEntityMovedInMapEventArgs> tempAfterEventArgs = m_EventWorldEntityMovedInMap;
     if ( tempAfterEventArgs != null )
     {
         WorldEntityMovedInMapEventArgs eventArgs = new WorldEntityMovedInMapEventArgs( oldLocation, worldEntity, map );
         tempAfterEventArgs( this, eventArgs );
     }
 }
 public void WorldEntityMovedInMapEventArgsConstructorTest()
 {
     Point3D oldLocation = new Point3D(); // TODO: 初始化为适当的值
     WorldEntity entity = null; // TODO: 初始化为适当的值
     BaseMap map = null; // TODO: 初始化为适当的值
     WorldEntityMovedInMapEventArgs target = new WorldEntityMovedInMapEventArgs( oldLocation, entity, map );
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }