public void NewOrientationTest()
 {
     float orientation = 0F; // TODO: 初始化为适当的值
     WorldEntity gameEntity = null; // TODO: 初始化为适当的值
     UpdatingOrientationEventArgs target = new UpdatingOrientationEventArgs( orientation, gameEntity ); // TODO: 初始化为适当的值
     float actual;
     actual = target.NewOrientation;
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
 public void IsCancelTest()
 {
     float orientation = 0F; // TODO: 初始化为适当的值
     WorldEntity gameEntity = null; // TODO: 初始化为适当的值
     UpdatingOrientationEventArgs target = new UpdatingOrientationEventArgs( orientation, gameEntity ); // TODO: 初始化为适当的值
     bool expected = false; // TODO: 初始化为适当的值
     bool actual;
     target.IsCancel = expected;
     actual = target.IsCancel;
     Assert.AreEqual( expected, actual );
     Assert.Inconclusive( "验证此测试方法的正确性。" );
 }
        /// <summary>
        ///
        /// </summary>
        internal bool OnUpdatingOrientation(float orientation, WorldEntity gameEntity)
        {
            EventHandler <UpdatingOrientationEventArgs> tempBeforeEventArgs = m_EventUpdatingOrientation;

            if (tempBeforeEventArgs != null)
            {
                UpdatingOrientationEventArgs eventArgs = new UpdatingOrientationEventArgs(orientation, gameEntity);
                tempBeforeEventArgs(this, eventArgs);

                return(eventArgs.IsCancel);
            }

            return(false);
        }
 public void UpdatingOrientationEventArgsConstructorTest()
 {
     float orientation = 0F; // TODO: 初始化为适当的值
     WorldEntity gameEntity = null; // TODO: 初始化为适当的值
     UpdatingOrientationEventArgs target = new UpdatingOrientationEventArgs( orientation, gameEntity );
     Assert.Inconclusive( "TODO: 实现用来验证目标的代码" );
 }
        /// <summary>
        /// 
        /// </summary>
        internal bool OnUpdatingOrientation( float orientation, WorldEntity gameEntity )
        {
            EventHandler<UpdatingOrientationEventArgs> tempBeforeEventArgs = m_EventUpdatingOrientation;
            if ( tempBeforeEventArgs != null )
            {
                UpdatingOrientationEventArgs eventArgs = new UpdatingOrientationEventArgs( orientation, gameEntity );
                tempBeforeEventArgs( this, eventArgs );

                return eventArgs.IsCancel;
            }

            return false;
        }