Пример #1
0
        //=============================================================================
        protected override void _SetState(GeometryState state)
        {
            base._SetState(state);

            Shutter_State shutterState = state as Shutter_State;

            if (shutterState == null)
            {
                return;
            }

            this.m_SwingDoor = shutterState.SwingDoor;
        }
Пример #2
0
 public Shutter_State(Shutter_State state)
     : base(state)
 {
     this.SwingDoor = state.SwingDoor;
 }