void hideNodeSelection() { STATE_T currentTState; NodeState = NODE_ST.SIMPLE; if (NodeType == NODE_T.SIMPLE) { currentTState = STATE_T.simple; } else { currentTState = STATE_T.collectable; } mVisual.ChangeState(currentTState); if (mLink != null) { mLink.ChangeState(currentTState); } }
void showNodeSelection() { STATE_T currentTState; NodeState = NODE_ST.SELECTED; if (NodeType == NODE_T.SIMPLE) { currentTState = STATE_T.simpleSelected; } //mVisual.ChangeState (STATE_T.simpleSelected); else { currentTState = STATE_T.collectableSelected; } //mVisual.ChangeState (STATE_T.collectableSelected); mVisual.ChangeState(currentTState); if (mLink != null) { mLink.ChangeState(currentTState); } }