diff options
author | Michal Zimniewicz <mzimniew@man.poznan.pl> | 2015-01-28 10:49:16 +0100 |
---|---|---|
committer | Michal Zimniewicz <mzimniew@man.poznan.pl> | 2015-01-28 10:58:38 +0100 |
commit | 29d9771333f9f996208b0e3dbce95dd80cddf8e9 (patch) | |
tree | 7160accad1184eabc2dbfadf4175aeeb6abf82dc /Aktywator/HandRecord.cs | |
parent | a331533373a95820a89aa93fead351ceb9a30046 (diff) |
initial commit with unreleased version 1.0.4
Diffstat (limited to 'Aktywator/HandRecord.cs')
-rw-r--r-- | Aktywator/HandRecord.cs | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/Aktywator/HandRecord.cs b/Aktywator/HandRecord.cs new file mode 100644 index 0000000..bd0e9f9 --- /dev/null +++ b/Aktywator/HandRecord.cs @@ -0,0 +1,31 @@ +using System; +using System.Collections.Generic; +using System.Text; + +namespace Aktywator +{ + class HandRecord + { + public string[] north; + public string[] east; + public string[] south; + public string[] west; + + public HandRecord() + { + north = new string[4]; + east = new string[4]; + south = new string[4]; + west = new string[4]; + } + + public HandRecord(string pbnString) + { + string[] hand = pbnString.Split(' '); + north = hand[0].Split('.'); + east = hand[1].Split('.'); + south = hand[2].Split('.'); + west = hand[3].Split('.'); + } + } +} |