diff options
Diffstat (limited to 'cao-common.js')
-rw-r--r-- | cao-common.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cao-common.js b/cao-common.js index 56ada43..e39317f 100644 --- a/cao-common.js +++ b/cao-common.js @@ -55,6 +55,10 @@ var CAO = function() { self.on_change_nbr_played_cards(nbr_played_cards); }; + this.get_white_card_event = function(idx) { + return white_cards[idx]['event']; + }; + this.change_state = function(state) { game_state = state; |