summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2016-05-23 14:58:20 +0200
committeremkael <emkael@tlen.pl>2016-05-23 14:58:20 +0200
commit0032de9dcc7861ecc2b5c12b4ba36a059d5e2195 (patch)
tree52294cc3d05fb292866bd432c6ec46beb5ad3140
parent22ff6c7e6ca9f697e97a1b1b43c461821286e63f (diff)
* basic board info retrieval from a PBN board
-rw-r--r--PBNBoard.cs20
1 files changed, 20 insertions, 0 deletions
diff --git a/PBNBoard.cs b/PBNBoard.cs
index 259c728..f03b809 100644
--- a/PBNBoard.cs
+++ b/PBNBoard.cs
@@ -94,5 +94,25 @@ namespace BCDD
}
}
+ public String GetLayout()
+ {
+ return this.GetField("Deal");
+ }
+
+ public String GetNumber()
+ {
+ return this.GetField("Board");
+ }
+
+ public String GetVulnerable()
+ {
+ return this.GetField("Vulnerable");
+ }
+
+ public String GetDealer()
+ {
+ return this.GetField("Dealer");
+ }
+
}
}