コード例 #1
0
 public void 出击()
 {
     oLock.Open();
     oLink.Concat();
     oEngine.Open();
     oEngine.SwitchOn();
     oEngine.PowerUp();
     oComposite.Standby();
     oComposite.Foot();
     oComposite.Body();
     oComposite.Head();
     oEngine.SetUp();
 }
コード例 #2
0
        public static void Before()
        {
            var oLock      = new System.Lock();
            var oLink      = new System.Link();
            var oEngine    = new System.Engine();
            var oComposite = new System.Composite();

            oLock.Open();
            oLink.Concat();
            oEngine.Open();
            oEngine.SwitchOn();
            oEngine.PowerUp();
            oComposite.Standby();
            oComposite.Foot();
            oComposite.Body();
            oComposite.Head();
            oEngine.SetUp();
        }
コード例 #3
0
        public static void Before()
        {
            var oLock = new System.Lock();
            var oLink = new System.Link();
            var oEngine = new System.Engine();
            var oComposite = new System.Composite();

            oLock.Open();
            oLink.Concat();
            oEngine.Open();
            oEngine.SwitchOn();
            oEngine.PowerUp();
            oComposite.Standby();
            oComposite.Foot();
            oComposite.Body();
            oComposite.Head();
            oEngine.SetUp();
        }