void OnMouseDown() { if (db.selected != this) { db.selected = this; } else if (!inDeck && db.selected == this) { db.addToDeck(this); } else if (inDeck && db.selected == this) { db.removeFromDeck(this); } }
void OnMouseDown() { if (db.selected != this) { db.selected = this; } else if (!inDeck && db.selected == this) { db.addToDeck(this); } else if (inDeck && db.selected == this) { db.removeFromDeck(this); } }