public static bool execute(XApp app) { JSICmdToSelectSmallestStandingCardByStand cmd = new JSICmdToSelectSmallestStandingCardByStand(app); return(cmd.execute()); }
public override void handlePenDown(Vector2 pt) { JSIApp app = (JSIApp)this.mScenario.getApp(); foreach (JSIStandingCard sc in app.getStandingCardMgr().getStandingCards()) { if (app.getCursor().hits(sc.getStand())) { JSICmdToSelectSmallestStandingCardByStand.execute(app); XCmdToChangeScene.execute(app, JSIEditStandingCardScenario. RotateStandingCardScene.getSingleton(), this.mReturnScene); return; } } XCmdToChangeScene.execute(app, JSINavigateScenario.TumbleCameraScene.getSingleton(), this.mReturnScene); }