void MakeMove(Gesture gesture) { if (CurrentGame.IsNull()) { return; } CurrentGame.MakeMove(gesture); }
public void MakeMove(Gesture gesture) { if (!currentCommitAndReveal.IsNull()) { return; } currentCommitAndReveal = new GameMoveTransactionService.CommitAndReveal(gesture, me.Id); if (game.State.Equals(ChainTypes.GameState.ExpectingCommitMoves)) { currentCommitAndReveal.Commit(game); } }