diff options
author | emkael <emkael@tlen.pl> | 2016-05-23 14:58:20 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2016-05-23 14:58:20 +0200 |
commit | 0032de9dcc7861ecc2b5c12b4ba36a059d5e2195 (patch) | |
tree | 52294cc3d05fb292866bd432c6ec46beb5ad3140 | |
parent | 22ff6c7e6ca9f697e97a1b1b43c461821286e63f (diff) |
* basic board info retrieval from a PBN board
-rw-r--r-- | PBNBoard.cs | 20 |
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");
+ }
+
}
}
|